mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
install twig intl-extra, replace localizeddate filter by format_date
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<div class="report_entry">
|
||||
<h3>{{ report.date|localizeddate('long', 'none') }}<span class="report"> / {{ 'Report'|trans }}</span></h3>
|
||||
<h3>{{ report.date|format_date('long', 'none') }}<span class="report"> / {{ 'Report'|trans }}</span></h3>
|
||||
<div class="statement">
|
||||
<span class="statement">{{ '%user% has filled a %report_label% report'|trans(
|
||||
{
|
||||
'%user%' : user,
|
||||
'%report_label%': report.CFGroup.name|localize_translatable_string,
|
||||
'%date%' : report.date|localizeddate('long', 'none') }
|
||||
'%date%' : report.date|format_date('long', 'none') }
|
||||
) }}</span>
|
||||
</div>
|
||||
{% if custom_fields_in_summary|length > 0 %}
|
||||
|
Reference in New Issue
Block a user