twig filter format_date need only one argument

This commit is contained in:
2020-09-10 16:00:32 +02:00
parent 33c9cdeaf2
commit 65a5c94c2f
10 changed files with 14 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|format_date('long', 'none') } ) }}</strong></td>
<td><strong>{{ 'Since %date%'|trans( { '%date%' : address.validFrom|format_date('long') } ) }}</strong></td>
<td>
{{ address_macros._render(address, { 'with_valid_from' : false, 'has_no_address': true } ) }}