소스 검색

Added the date format in view template

Laupi FRPAR 14 년 전
부모
커밋
119fa8fa5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 %}