Przeglądaj źródła

Added the date format in view template

Laupi FRPAR 14 lat temu
rodzic
commit
119fa8fa5d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Resources/views/CRUD/view_date.html.twig

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

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