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

@@ -47,7 +47,7 @@
{% else %}
{% for address in person.addresses %}
<tr>
<td><strong>{{ 'Since %date%'|trans( { '%date%' : address.validFrom|localizeddate('long', 'none') } ) }}</strong></td>
<td><strong>{{ 'Since %date%'|trans( { '%date%' : address.validFrom|format_date('long', 'none') } ) }}</strong></td>
<td>
{{ address_macros._render(address, { 'with_valid_from' : false, 'has_no_address': true } ) }}