localize date in report bundles: switch to twig intl extension

refs #272

refs #
Task #272 - Find a way to deal with date format automatically
This commit is contained in:
2015-01-23 12:02:31 +01:00
parent 57e4bc924c
commit a767a67db7
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@
<!-- <dt class="inline">{{ 'Scope'|trans }}</dt>
<dd>{{ entity.scope }}</dd> -->
<dt class="inline">{{ 'Date'|trans }}</dt>
<dd>{{ entity.date|date('d-m-Y') }}</dd>
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
<dt class="inline">{{ 'User'|trans }}</dt>
<dd>{{ entity.user }}</dd>
<dt class="inline">{{ 'Report type'|trans }}</dt>