summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-15 14:44:48 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-15 14:44:48 +0200
commit01d6e6a3df56008d6fe684720e5be6de5f3ef7b2 (patch)
tree3c2b1c383ae58b585478eebcf265b1ece34b7fa7 /templates/part.items.php
parentcdbafe0555fae50d7ab99f0c95573d2c3cacb97b (diff)
show real date on hover, more robust check for language support for relative dates
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 7fef5b1cc..be3e4975e 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -5,7 +5,9 @@
data-id="{{ item.id }}"
data-feed="{{ item.feedId }}">
<h2 class="item_date">
- <time class="timeago" datetime="">{{ getRelativeDate(item.pubDate) }}</time>
+ <span class="timeago" title="{{item.pubDate*1000|date:'dd-MM-yyyy'}}">
+ {{ getRelativeDate(item.pubDate) }}
+ </span>
</h2>
<div class="utils">