-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Change datetime to datetime-local for HTML5 datetime input #24401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
63160b1
to
7bdbc52
Compare
Is browser support good enough? |
Anyway, isn't it a BC break? JS apps may rely on |
However, the HTML5_FORMAT constant has the timezone included in the format. So it should be updated for |
7bdbc52
to
256d046
Compare
Is this enough? I mean is the format in which data is sent by browsers the same as it was meant to with the old |
From my short test, it seems Chrome submits the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
html5 constant and description
Would it not be considered a BC break to change the value of a constant? |
What's the status of this? Can I help? |
@pierredup let's do the change as requested by @Tobion /@stof |
f2b7874
to
31c9c1e
Compare
31c9c1e
to
802c67c
Compare
@Tobion aren't we ready here? |
Thank you @pierredup. |
…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
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)