From: Emilie Date: Wed, 23 Nov 2016 10:52:00 +0000 (+0100) Subject: Event : correct date on detail page X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=296a17f725bc168eac8d4a500375c9b132d3311a;p=mezzo.git Event : correct date on detail page --- 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 %}