From f4952b6b90302ec7255fdc9c62a4290a051871da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 22 Dec 2018 18:30:26 +0100 Subject: [PATCH] templatetags: limit start timestamp to minutes (#29327) --- gadjo/templatetags/gadjo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gadjo/templatetags/gadjo.py b/gadjo/templatetags/gadjo.py index f25790d..caed02f 100644 --- a/gadjo/templatetags/gadjo.py +++ b/gadjo/templatetags/gadjo.py @@ -43,7 +43,7 @@ def xstatic(modname, filename): return settings.STATIC_URL + 'xstatic/' + filename -START_TIMESTAMP = time.strftime('%Y%m%d.%H%M%S') +START_TIMESTAMP = time.strftime('%Y%m%d.%H%M') @register.simple_tag def start_timestamp():