From 62ed0bb650bbbb60a3e648c83ef592ee814a56ad Mon Sep 17 00:00:00 2001 From: adametz Date: Fri, 23 Feb 2018 16:42:52 +0000 Subject: [PATCH] Remove Date validator git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3374 f459cee4-fb09-11de-96c3-f9c5f16c3c76 --- trunk/src/AppBundle/Form/TravelerType.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/trunk/src/AppBundle/Form/TravelerType.php b/trunk/src/AppBundle/Form/TravelerType.php index 21d7885f..2f1d4f43 100644 --- a/trunk/src/AppBundle/Form/TravelerType.php +++ b/trunk/src/AppBundle/Form/TravelerType.php @@ -50,10 +50,12 @@ class TravelerType extends AbstractType ]) ->add('firstName') ->add('lastName') - ->add('birthDate', StDateType::class, [ - 'format' => 'dd.MM.y' - ] - ) + ->add('birthDate') ; + /* + , StDateType::class, [ + 'format' => 'dd.MM.yyyy' + ] + */ } } \ No newline at end of file