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:
@@ -13,7 +13,7 @@
|
||||
#}{{ report.id }},{#
|
||||
#}"{{ report.person|csv_cell }}",{#
|
||||
#}"{{ report.person.id|csv_cell }}",{#
|
||||
#}"{{ report.date|localizeddate('short', 'none') }}",{#
|
||||
#}"{{ report.date|format_date('short', 'none') }}",{#
|
||||
#}"{{ report.user|csv_cell }}",{#
|
||||
#}"{{ report.cFGroup.getName(app.request.locale)|csv_cell }}",{#
|
||||
#}{% for customField in report.cFGroup.activeCustomFields %}{#
|
||||
|
@@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
{% for report in reports %}
|
||||
<tr>
|
||||
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
|
||||
<td>{% if report.date %}{{ report.date|format_date('long', 'none') }}{% endif %}</td>
|
||||
<td>{{ report.cFGroup.getName|localize_translatable_string }}</td>
|
||||
<td>{{ report.scope.name|localize_translatable_string }}</td>
|
||||
<td>
|
||||
|
@@ -32,7 +32,7 @@
|
||||
<dt>{{ 'Circle'|trans }} :</dt>
|
||||
<dd><span class="scope circle">{{ entity.scope.name|localize_translatable_string }}</span></dd>
|
||||
<dt>{{ 'Date'|trans }} :</dt>
|
||||
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
|
||||
<dd>{{ entity.date|format_date('long', 'none') }}</dd>
|
||||
<dt>{{ 'User'|trans }} :</dt>
|
||||
<dd>{{ entity.user }}</dd>
|
||||
|
||||
|
Reference in New Issue
Block a user