8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c8b01 commit a37e5e3Copy full SHA for a37e5e3
src/Symfony/Component/Form/Extension/Core/Type/DateType.php
@@ -181,7 +181,7 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
181
};
182
183
$format = function (Options $options) {
184
- return $options['widget'] === 'single_text' ? self::HTML5_FORMAT : self::DEFAULT_FORMAT;
+ return $options['widget'] === 'single_text' ? DateType::HTML5_FORMAT : DateType::DEFAULT_FORMAT;
185
186
187
// BC until Symfony 2.3
0 commit comments