mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
install twig intl-extra, replace localizeddate filter by format_date
This commit is contained in:
@@ -88,7 +88,7 @@ This view should receive those arguments:
|
||||
<dt>{{ 'Date of birth'|trans }} :</dt>
|
||||
<dd>
|
||||
{%- if person.birthdate is not null -%}
|
||||
{{ person.birthdate|localizeddate('long', 'none') }}
|
||||
{{ person.birthdate|format_date('long', 'none') }}
|
||||
{%- else -%}
|
||||
<span class="chill-no-data-statement">{{ 'Unknown date of birth'|trans }}</span>
|
||||
{%- endif -%}
|
||||
|
Reference in New Issue
Block a user