]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GroupPrivateMessage/lib/groupmessagelistitem.php
Datetime representation aligned for microformats2
[quix0rs-gnu-social.git] / plugins / GroupPrivateMessage / lib / groupmessagelistitem.php
index 741d621c3282b9064afb73c47854d4d69db16b6c..ee0f147305521c9e0ec36f2163618393e9e27f17 100644 (file)
@@ -99,9 +99,10 @@ class GroupMessageListItem extends Widget
         $this->out->elementStart('a', array('rel' => 'bookmark',
                                             'class' => 'timestamp',
                                             'href' => $this->gm->url));
-        $dt = common_date_iso8601($this->gm->created);
-        $this->out->element('abbr', array('class' => 'published',
-                                          'title' => $dt),
+        $this->out->element('time', array('class' => 'dt-published',
+                                          'datetime' => common_date_iso8601($this->gm->created),
+                                          // TRANS: Timestamp title (tooltip text) for NoticeListItem
+                                          'title' => common_exact_date($this->gm->created)),
                             common_date_string($this->gm->created));
         $this->out->elementEnd('a');
         $this->out->elementEnd('div');