Add relative date support
Changed Date display to be relative. If the relative date is hovered over it shows the actual date and time.
This commit is contained in:
parent
c242998e29
commit
1c224eb08a
@ -62,7 +62,7 @@
|
||||
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a>
|
||||
</li>
|
||||
<li class="hide-mobile">
|
||||
<?= dt('%e %B %Y %k:%M', $item['updated']) ?>
|
||||
<span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time(dt('%e %B %Y %k:%M', $item['updated'])) ?></span>
|
||||
</li>
|
||||
<?php if ($item['enclosure']): ?>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user