diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-16 13:26:03 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-16 13:26:03 +0200 |
commit | 1154465787112ff153191222edfdc70857d0e1b0 (patch) | |
tree | da52ed59a86cb3421e65bd739de3ff6f3e5cdf74 /templates/part.items.php | |
parent | d6fd252bb449ef134518ae64226a3de2a09578b2 (diff) | |
parent | 9132f6a27d8f26bfbf333a3d6d36361d1e0a2fa3 (diff) |
added and formatted the feedtimestamp properly
Diffstat (limited to 'templates/part.items.php')
-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 da4855dc4..3d9c366d6 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -40,6 +40,9 @@ foreach($items as $item) { echo '</ul>'; echo '</div>'; + 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 '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>'; if(trim($item->getAuthor()) == ''){ |