better date conversion

This commit is contained in:
Nicolas Constant 2018-09-19 01:17:18 -04:00
parent 94360278ad
commit 80e17997eb
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@
<span class="status__fullname" innerHTML="{{status.account.display_name}}"></span>
@<span id="status-username">{{status.account.acct}}</span>
</a>
<div class="status__created-at" title="{{ status.created_at | date: 'long' }}">{{ getCompactRelativeTime(status.created_at) }}</div>
<div class="status__created-at" title="{{ status.created_at | date: 'full' }}">{{ getCompactRelativeTime(status.created_at) }}</div>
<div class="status__content" innerHTML="{{status.content}}"></div>
</div>