From 15a9eff599015bcdc861828d1d181fdb41a9c3e9 Mon Sep 17 00:00:00 2001 From: Skia Date: Tue, 20 Jun 2017 16:07:42 +0200 Subject: [PATCH] forum: fix time localization Signed-off-by: Skia --- forum/templates/forum/macros.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/templates/forum/macros.jinja b/forum/templates/forum/macros.jinja index c8331d1d..0b6804eb 100644 --- a/forum/templates/forum/macros.jinja +++ b/forum/templates/forum/macros.jinja @@ -77,7 +77,7 @@ {% if last_msg %} {{ user_profile_link_short_name(last_msg.author) }}
- {{ last_msg.date|date(DATETIME_FORMAT) }} {{ last_msg.date|time(DATETIME_FORMAT) }} + {{ last_msg.date|localtime|date(DATETIME_FORMAT) }} {{ last_msg.date|localtime|time(DATETIME_FORMAT) }} {% endif %}