You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Shoplifter
changed the title
HTML5 input datetime should be rendered as typ "datetime-local" instaed of "datetime"
HTML5 input datetime should be rendered as type "datetime-local" instaed of "datetime"
Sep 24, 2017
…e input (pierredup)
This PR was merged into the 2.7 branch.
Discussion
----------
[Form] Change datetime to datetime-local for HTML5 datetime input
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | Unknown
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #24307
| License | MIT
| Doc PR | N/A
Change the input type from datetime to datetime-local for HTML5 date input (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime)
Commits
-------
802c67c Change datetime input to datetime-local
Uh oh!
There was an error while loading. Please reload this page.
<input type="datetime">
has been removed from WHATWG HTMLsee whatwg/html#336 and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime .
Instaed browsers implement and developers are encouraged to use
<input type="datetime-local">
https://github.com/symfony/form/blob/master/Extension/Core/Type/DateTimeType.php#L196
The text was updated successfully, but these errors were encountered: