forum: fix time localization

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia 2017-06-20 16:07:42 +02:00
parent 3c22db5bd2
commit 15a9eff599
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
{% if last_msg %}
{{ user_profile_link_short_name(last_msg.author) }} <br/>
<a href="{{ last_msg.get_absolute_url() }}">
<date>{{ last_msg.date|date(DATETIME_FORMAT) }} {{ last_msg.date|time(DATETIME_FORMAT) }}</date>
<date>{{ last_msg.date|localtime|date(DATETIME_FORMAT) }} {{ last_msg.date|localtime|time(DATETIME_FORMAT) }}</date>
</a>
{% endif %}
</p>