mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 00:04:59 +00:00
twig filter format_date need only one argument
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
{% for report in reports %}
|
||||
<tr>
|
||||
<td>{% if report.date %}{{ report.date|format_date('long', 'none') }}{% endif %}</td>
|
||||
<td>{% if report.date %}{{ report.date|format_date('long') }}{% 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|format_date('long', 'none') }}</dd>
|
||||
<dd>{{ entity.date|format_date('long') }}</dd>
|
||||
<dt>{{ 'User'|trans }} :</dt>
|
||||
<dd>{{ entity.user }}</dd>
|
||||
|
||||
|
Reference in New Issue
Block a user