forked from GNUsocial/gnu-social
Datetime representation aligned for microformats2
Read more at http://microformats.org/ Also, tooltip text on time representation for humans has been improved. Unfortunately no standardised representation (like "RFC850") had 4-digit years.
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user