twig filter format_date need only one argument

This commit is contained in:
Tchama 2020-09-10 16:00:32 +02:00
parent 540661862a
commit 3d02785da2

View File

@ -1 +1 @@
{% if value is not empty %}{{ value|format_date(format, 'none')}}{% endif %}
{% if value is not empty %}{{ value|format_date(format)}}{% endif %}