From 48964d1410dce5183956c0d33c9fc96081f5b787 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 21 Jul 2018 19:26:57 +0200 Subject: [PATCH] Do not display milliseconds in wiki pages --- templates/wiki.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wiki.html b/templates/wiki.html index 64a21bf4..98470444 100644 --- a/templates/wiki.html +++ b/templates/wiki.html @@ -14,7 +14,7 @@ {{ converted_md }}
- Ultima modifica di {{ wiki_log.editor.username }} alle {{ wiki_log.timestamp.isoformat() }}{% if wiki_log.reason %}, motivo: {{ wiki_log.reason }}{% endif %} + Ultima modifica di {{ wiki_log.editor.username }} alle {{ wiki_log.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}{% if wiki_log.reason %}, motivo: {{ wiki_log.reason }}{% endif %}
{% endif %} {% if session.get('user_id', '') %}