瀏覽代碼

Added date format for date without time

Laupi FRPAR 14 年之前
父節點
當前提交
d79060a333
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 %}