From 11dc8aac36538d4fc2fe837852f79c538d8c6a24 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Wed, 5 Oct 2016 18:36:58 +0200 Subject: [PATCH] Force ISO8601-ish datetime format for locale 'en' --- src/pretix/helpers/formats/en/formats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pretix/helpers/formats/en/formats.py b/src/pretix/helpers/formats/en/formats.py index 81452fe12f..0bf19be33f 100644 --- a/src/pretix/helpers/formats/en/formats.py +++ b/src/pretix/helpers/formats/en/formats.py @@ -1,2 +1,3 @@ +# Date according to https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date SHORT_DATE_FORMAT = 'Y-m-d' -SHORT_DATETIME_FORMAT = 'Y-d-m P' +SHORT_DATETIME_FORMAT = 'Y-m-d H:i'