]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelistitem.php
Datetime representation aligned for microformats2
[quix0rs-gnu-social.git] / lib / noticelistitem.php
index 6aef97a1a4b8716000004215a76ec1d64b9ef022..e82331afede239e22d3b686aa8c99265a55700a3 100644 (file)
@@ -370,9 +370,10 @@ class NoticeListItem extends Widget
         $this->out->elementStart('a', array('rel' => 'bookmark',
                                             'class' => 'timestamp',
                                             'href' => $noticeurl));
-        $dt = common_date_iso8601($this->notice->created);
-        $this->out->element('abbr', array('class' => 'published',
-                                          'title' => $dt),
+        $this->out->element('time', array('class' => 'dt-published',
+                                          'datetime' => common_date_iso8601($this->notice->created),
+                                          // TRANS: Timestamp title (tooltip text) for NoticeListItem
+                                          'title' => common_exact_date($this->notice->created)),
                             common_date_string($this->notice->created));
         $this->out->elementEnd('a');
     }