Browse Source

Added date format for date without time

Laupi FRPAR 14 năm trước cách đây
mục cha
commit
d79060a333
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 %}