diff --git a/src/agenda_culturel/templates/agenda_culturel/date-times-inc.html b/src/agenda_culturel/templates/agenda_culturel/date-times-inc.html index 76a4179..487a9a2 100644 --- a/src/agenda_culturel/templates/agenda_culturel/date-times-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/date-times-inc.html @@ -1,8 +1,10 @@ -{{ event.start_day }} +{% load utils_extra %} + +{{ event.start_day|date|frdate }} {% if event.start_time %} {% if not event.end_day %}{% if event.end_time %}de{% else %}à{% endif %}{% endif %} {{ event.start_time }} {% endif %} {% if event.end_day %} - au {% if event.end_day %}{{ event.end_day }}{% endif %} + au {% if event.end_day %}{{ event.end_day|date|frdate }}{% endif %} {% endif %} -{% if event.end_time %} {% if not event.end_day %}jusqu'à{% endif %} {{ event.end_time }}{% endif %} \ No newline at end of file +{% if event.end_time %} {% if not event.end_day|date|frdate %}jusqu'à{% endif %} {{ event.end_time }}{% endif %} \ No newline at end of file diff --git a/src/agenda_culturel/templates/agenda_culturel/page-day.html b/src/agenda_culturel/templates/agenda_culturel/page-day.html index f943254..451a269 100644 --- a/src/agenda_culturel/templates/agenda_culturel/page-day.html +++ b/src/agenda_culturel/templates/agenda_culturel/page-day.html @@ -16,7 +16,7 @@ {% endblock %} {% block title %} -{{ day | date:"l j F Y" }} +{{ day | date:"l j F Y"|frdate }} {% endblock %} @@ -31,7 +31,7 @@
-

{{ day | date:"l j F Y" }}

+

{{ day | date:"l j F Y"|frdate }}