summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-15 13:52:56 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-15 13:52:56 +0200
commit506dc652ff9fd76fde684f621cda2fa2783313a4 (patch)
tree1315991537367b014534903786041a53a8fc650f /templates/part.items.php
parent360966ab4bdafd15cdef21e34492f5d7d3151b74 (diff)
add support for relative dates, fix #28
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 284a3e9a3..7fef5b1cc 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -5,7 +5,7 @@
data-id="{{ item.id }}"
data-feed="{{ item.feedId }}">
<h2 class="item_date">
- <time class="timeago" datetime="">{{ item.getRelativeDate() }}</time>
+ <time class="timeago" datetime="">{{ getRelativeDate(item.pubDate) }}</time>
</h2>
<div class="utils">