correct date format in admin

This commit is contained in:
Julie Lenaerts 2023-12-04 16:15:05 +01:00
parent e0fc87ef58
commit 807ffb845a

View File

@ -11,9 +11,9 @@
{% for entity in entities %}
<tr>
<td>{{ entity.title }}</td>
<td>{{ entity.startDate|date }}</td>
<td>{{ entity.startDate|format_date('long') }}</td>
{% if entity.endDate is not null %}
<td>{{ entity.endDate|date }}</td>
<td>{{ entity.endDate|format_date('long') }}</td>
{% else %}
<td>{{ 'news.noDate'|trans }}</td>
{% endif %}