Explorar o código

Added date format for date without time

Laupi FRPAR %!s(int64=14) %!d(string=hai) anos
pai
achega
d79060a333
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/views/CRUD/list_date.html.twig

+ 1 - 1
Resources/views/CRUD/list_date.html.twig

@@ -10,4 +10,4 @@ file that was distributed with this source code.
 #}
 #}
 {% extends 'SonataAdminBundle:CRUD:list_integer.html.twig' %}
 {% extends 'SonataAdminBundle:CRUD:list_integer.html.twig' %}
 
 
-{% block field%}{{ value|date }}{% endblock %}
+{% block field%}{{ value|date('F j, Y') }}{% endblock %}