From db187a2537414dd1e30f47b8a879252773456f07 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 1 May 2019 13:32:12 +0200 Subject: [PATCH] Fix #1126 -- Use short datetime format on order details page --- src/pretix/control/templates/pretixcontrol/order/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index eab4818fb..185400bef 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -118,7 +118,7 @@
{% trans "Order code" %}
{{ order.code }}
{% trans "Order date" %}
-
{{ order.datetime }}
+
{{ order.datetime|date:"SHORT_DATETIME_FORMAT" }}
{% if sales_channel %}
{% trans "Sales channel" %}
{{ sales_channel.verbose_name }}
@@ -132,7 +132,7 @@ {% if order.status == "n" %}
{% trans "Expiry date" %}
-
{{ order.expires }}
+
{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}
{% endif %}
{% trans "User" %}