1
0
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:
Tim Düsterhus 2011-12-05 21:14:14 +01:00
parent e35a6a2f04
commit 768c4f0066

View File

@ -87,7 +87,7 @@ public function jsonify() {
return \wcf\util\JSON::encode(array(
'formattedUsername' => $this->getFormattedUsername(),
'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,
'username' => $this->getUsername(),
'time' => $this->time,