From e749875cf882b7a30e8e6f5b5f579d8ebcf68f5a Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 6 Nov 2021 14:51:52 +0100 Subject: [PATCH] update post form --- src/Form/Blog/PostType.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Form/Blog/PostType.php b/src/Form/Blog/PostType.php index 3349e9c..abb9a8c 100644 --- a/src/Form/Blog/PostType.php +++ b/src/Form/Blog/PostType.php @@ -130,9 +130,8 @@ class PostType extends AbstractType [ 'label' => 'Date de publication', 'required' => false, - 'html5' => false, + 'html5' => true, 'widget' => 'single_text', - 'format' => 'dd/MM/yyyy hh:mm', 'attr' => [ 'data-datetime' => '', ],