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

View File

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