DamienHarper/auditor-bundle

datetimeformat in config

ganti opened this issue · 0 comments

ganti commented

It would be neat to have an easy possibility to set the datetime format in the config file.
it would be quite elegant to set the datetimeformat depending on the locale or by pattern.

{{ entry.getCreatedAt()|format_datetime('full', 'long') }}