install twig intl-extra, replace localizeddate filter by format_date

This commit is contained in:
2020-08-03 11:10:39 +02:00
parent e3b5b46bd1
commit 1c9b38941f
10 changed files with 16 additions and 14 deletions

View File

@@ -55,7 +55,9 @@
</a>
</td>
<td>
{% if person.birthdate is not null %}{{person.birthdate|localizeddate('long', 'none', app.request.locale) }}{% else %}{{ 'Unknown date of birth'|trans }}{% endif %}
{% if person.birthdate is not null %}
{{ person.birthdate|format_date('long', 'none') }}
{% else %}{{ 'Unknown date of birth'|trans }}{% endif %}
</td>
<td>
{% if person.nationality is not null %}