Use format_datetime filters from twig core instead of deprecated twig/extensions

This commit is contained in:
Jan Böhmer 2019-11-23 14:48:21 +01:00
parent 26fe946de3
commit cd5f099965
12 changed files with 19 additions and 100 deletions

View file

@ -4,12 +4,12 @@
<tbody>
<tr> {# Creation date #}
<td>{% trans %}createdAt{% endtrans %}</td>
<td>{{ part.addedDate | localizeddate("long")}}</td>
<td>{{ part.addedDate | format_datetime("long")}}</td>
</tr>
<tr> {# Last modified date #}
<td>{% trans %}lastModified{% endtrans %}</td>
<td>{{ part.lastModified | localizeddate("long")}}</td>
<td>{{ part.lastModified | format_datetime("long")}}</td>
</tr>
<tr> {# ID #}