diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.items.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index 399274e30..16b7d5b67 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -43,6 +43,9 @@ foreach($items as $item) { echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>'; echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_HOST) . '</h2>'; + + echo '<h2 class="item_date"><time class="timeago" datetime="' . + date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>'; echo '<div class="body">' . $item->getBody() . '</div>'; |