Fix remaining uses of naturaltime

This commit is contained in:
Jason McBrayer 2018-08-21 13:19:26 -04:00
parent 60f70d2cbd
commit 0a9cdded14
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load humanize %} {% load humanetime %}
{% load taglinks %} {% load taglinks %}
{% block title %} {% block title %}
@ -38,7 +38,7 @@ mastodon.notifications()[0]
(<a href="{{ note.account.url | localuser }}">{{ note.account.acct }}</a>) (<a href="{{ note.account.url | localuser }}">{{ note.account.acct }}</a>)
boosted your toot. boosted your toot.
(<span> (<span>
<small>{{ note.created_at |naturaltime }}</small> <small>{{ note.created_at |humane_time }}</small>
</span>) </span>)
</p> </p>
{% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar %} {% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar %}
@ -49,7 +49,7 @@ mastodon.notifications()[0]
(<a href="{{ note.account.url | localuser}}">{{ note.account.acct }}</a>) (<a href="{{ note.account.url | localuser}}">{{ note.account.acct }}</a>)
favorited your toot. favorited your toot.
(<span> (<span>
<small>{{ note.created_at |naturaltime }}</small> <small>{{ note.created_at |humane_time }}</small>
</span>) </span>)
</p> </p>
{% include "main/toot_partial.html" with toot=note.status %} {% include "main/toot_partial.html" with toot=note.status %}
@ -67,7 +67,7 @@ mastodon.notifications()[0]
(<a href="{{ note.account.url |localuser }}">{{ note.account.acct }}</a>) (<a href="{{ note.account.url |localuser }}">{{ note.account.acct }}</a>)
followed you. followed you.
(<a href="{{ note.url }}"> (<a href="{{ note.url }}">
<small>{{ note.created_at |naturaltime }}</small> <small>{{ note.created_at |humane_time }}</small>
</a>) </a>)
</div> </div>
</div> </div>