mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Add <time>-Tag
This commit is contained in:
parent
e35a6a2f04
commit
768c4f0066
@ -87,7 +87,7 @@ public function jsonify() {
|
|||||||
return \wcf\util\JSON::encode(array(
|
return \wcf\util\JSON::encode(array(
|
||||||
'formattedUsername' => $this->getFormattedUsername(),
|
'formattedUsername' => $this->getFormattedUsername(),
|
||||||
'formattedMessage' => $this->getFormattedMessage(),
|
'formattedMessage' => $this->getFormattedMessage(),
|
||||||
'formattedTime' => \wcf\util\DateUtil::format(\wcf\util\DateUtil::getDateTimeByTimestamp($this->time), 'H:i:s'),
|
'formattedTime' => '<time>'.\wcf\util\DateUtil::format(\wcf\util\DateUtil::getDateTimeByTimestamp($this->time), 'H:i:s').'</time>',
|
||||||
'sender' => $this->sender,
|
'sender' => $this->sender,
|
||||||
'username' => $this->getUsername(),
|
'username' => $this->getUsername(),
|
||||||
'time' => $this->time,
|
'time' => $this->time,
|
||||||
|
Loading…
Reference in New Issue
Block a user