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

@@ -26,7 +26,7 @@
<p>
{{ 'Last opening since %last_opening%'|trans(
{ '%last_opening%' : accompanying_period.openingDate|localizeddate('long', 'none', app.request.locale) }) }}
{ '%last_opening%' : accompanying_period.openingDate|format_date('long', 'none') }) }}
</p>
{% if form.openingDate is defined %}