]> git.parisson.com Git - mezzo.git/commitdiff
Event : correct date on detail page
authorEmilie <zawadzki@ircam.fr>
Wed, 23 Nov 2016 10:52:00 +0000 (11:52 +0100)
committerEmilie <zawadzki@ircam.fr>
Wed, 23 Nov 2016 10:52:00 +0000 (11:52 +0100)
app/templates/agenda/includes/event_date.html

index 2bc6c0f50b4a12e147730ab3b6446bc5b7e56ae8..9068627e6a5e03936ba1f5271ae71c33c77fd4ad 100644 (file)
@@ -30,7 +30,6 @@
                     {% endif %}
                 {% endfor %}
             {% endif %}
-
         <!-- Start and end date are the same month  -->
         {% 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 %}