advanced date formatting

This commit is contained in:
Nazar Kanaev
2020-07-18 00:28:19 +01:00
parent f8e16c5f26
commit 327d2ac6b7
2 changed files with 39 additions and 2 deletions

View File

@@ -90,7 +90,7 @@
<div class="d-flex flex-column">
<div style="line-height: 1.2; opacity: .6;" class="d-flex">
<small class="flex-fill text-truncate mr-1">{{feedsById[item.feed_id].title}}</small>
<small class="flex-shrink-0">{{formatDate(item.date)}}</small>
<small class="flex-shrink-0"><relative-time :val="item.date"/></small>
</div>
<span>{{item.title}}</span>
</div>