From 65e2514df213628657ccd7e8754c3fc780300cf2 Mon Sep 17 00:00:00 2001 From: Skia Date: Sun, 12 Mar 2017 18:31:35 +0100 Subject: [PATCH] Small template fixes in forum --- forum/templates/forum/macros.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/forum/templates/forum/macros.jinja b/forum/templates/forum/macros.jinja index f3446041..ba1dada2 100644 --- a/forum/templates/forum/macros.jinja +++ b/forum/templates/forum/macros.jinja @@ -28,7 +28,9 @@
{% if forum.last_message %} {{ forum.last_message.author }}
- {{ forum.last_message.date|date(DATETIME_FORMAT) }} {{ forum.last_message.date|time(DATETIME_FORMAT) }} + + {{ forum.last_message.date|localtime|date(DATETIME_FORMAT) }} {{ forum.last_message.date|localtime|time(DATETIME_FORMAT) }} + {% endif %}