8000 Remove timezone from HTML5_FORMAT const · symfony/symfony@f2b7874 · GitHub
[go: up one dir, main page]

Skip to content

Commit f2b7874

Browse files
committed
Remove timezone from HTML5_FORMAT const
1 parent eda9c8c commit f2b7874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class DateTimeType extends AbstractType
5454
* yet. To temporarily circumvent this issue, DateTimeToRfc3339Transformer
5555
* is used when the format matches this constant.
5656
*/
57-
const HTML5_FORMAT = "yyyy-MM-dd'T'HH:mm:ssZZZZZ";
57+
const HTML5_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
5858

5959
private static $acceptedFormats = array(
6060
\IntlDateFormatter::FULL,

0 commit comments

Comments
 (0)
0