Przeglądaj źródła

Added date format for date without time

Laupi FRPAR 14 lat temu
rodzic
commit
d79060a333
1 zmienionych plików z 1 dodań i 1 usunięć
  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' %}
 
-{% block field%}{{ value|date }}{% endblock %}
+{% block field%}{{ value|date('F j, Y') }}{% endblock %}