From 296a17f725bc168eac8d4a500375c9b132d3311a Mon Sep 17 00:00:00 2001 From: Emilie Date: Wed, 23 Nov 2016 11:52:00 +0100 Subject: [PATCH] Event : correct date on detail page --- app/templates/agenda/includes/event_date.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/templates/agenda/includes/event_date.html b/app/templates/agenda/includes/event_date.html index 2bc6c0f5..9068627e 100644 --- a/app/templates/agenda/includes/event_date.html +++ b/app/templates/agenda/includes/event_date.html @@ -30,7 +30,6 @@ {% endif %} {% endfor %} {% endif %} - {% elif event.start|date:"m.y" == event.end|date:"m.y" %} {% if periods %} @@ -45,9 +44,9 @@ {% endif %} {% else %} {% if periods|length > 1 and not forloop.last %} - {{ period.date_from|date:"WEEK_DAY_FORMAT" }}{% if periods|length == 2 %} {% trans "and" %} {% else %},{% endif %} + {{ period.date_from|date:"DATE_EVENT_FORMAT" }}{% if periods|length == 2 %} {% trans "and" %} {% else %},{% endif %} {% else %} - {{ period.date_from|date:"WEEK_DAY_FORMAT" }}, + {{ period.date_from|date:"DATE_EVENT_FORMAT" }}, {% if periods|length > 1 and forloop.first %}{% trans "and" %}{% endif %} {% endif %} {% if same_time_in_periods and forloop.last %} -- 2.39.5