Remove input[type=datetime] #336
Comments
I guess it's too late to rename datetime-local to datetime. Bit of a shame. Would making them an alias work? |
Relevant use counters:
Both are counted only when the computed style is is not |
From that it seems that neither is really used. @hober, do you have views on this? @travisleithead? |
We received multiple bug reports when we introduced a regression of input[type=datetime-local] in Blink. So, I think it has real users, and we won't remove it. |
Alright, I guess removing |
|
Thank you for the suggestion! |
What's the new (existing) suggested best practice for unambiguous time point entry now? Have a |
That or an entirely custom component, I guess. |
Google Calendar does the same. Seems good enough. |
It has been removed from the HTML specification: whatwg/html#336 Only Presto Opera ever implemented a special UI for it. [skip sauce]
Great, now we don't have a future option for unambiguous TZ datetime input. Thanks a lot. |
I don't quite understand what you mean. Removal from the standard does not stop it from being introduced again at some point in the future. |
@annevk : It's likely my fault for misunderstanding the WHATWG process for these issues. Regardless, apologies for the sarcasm. |
https://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_removing_bad_ideas_from_a_specification.3F should explain the rationale. Basically, if something is not implemented and there is no desire to implement, we remove it. This happens at times. We've started being a lot more careful about adding new features though, so it should happen less going forward. |
With datetime removed, this pretty much changes forums optimization a lot doesn't it? Its adding a another question or input. I am fine with this, but I don't see why to remove something useful. |
Since it wasn't implemented anywhere, I have a hard time seeing how it changes anything. |
True, I just read more into the MDN docs. I forgot there is "time", so I am guessing that's used more. Sorry about that. |
* <input type="datetime"> no longer exists, per whatwg/html#336 * iOS 9.3.2 still doesn't support <input type="week"> [skip sauce] [skip validator]
* <input type="datetime"> no longer exists, per whatwg/html#336 * iOS 9.3.2 still doesn't support <input type="week"> [skip sauce] [skip validator]
Because input[type=datetime] was removed from the specification in whatwg/html#336
Because input[type=datetime] was removed from the specification in whatwg/html#336
Updated wrong html file... This is the updated version done 4/15 Menu Add Players Add Teams New Tournament Date Time picker and image not working also menu not linked up with corresponding menu items
It has been removed from the spec: whatwg/html#336 See also servo#19471 (review)
Remove support for <input type=datetime> It has been removed from the spec: whatwg/html#336 See also #19471 (review) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19509) <!-- Reviewable:end -->
…jonleighton:remove-input-type-datetime); r=jdm It has been removed from the spec: whatwg/html#336 See also servo/servo#19471 (review) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 8e3056d0cc7caebc218d51373b3aa0ccd331fa20 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 76bd32c1d97be56bee2675857fcb5b20f2ed2d42
…jonleighton:remove-input-type-datetime); r=jdm It has been removed from the spec: whatwg/html#336 See also servo/servo#19471 (review) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 8e3056d0cc7caebc218d51373b3aa0ccd331fa20
…jonleighton:remove-input-type-datetime); r=jdm It has been removed from the spec: whatwg/html#336 See also servo/servo#19471 (review) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 8e3056d0cc7caebc218d51373b3aa0ccd331fa20
* <input type="datetime"> no longer exists, per whatwg/html#336 * iOS 9.3.2 still doesn't support <input type="week"> [skip sauce] [skip validator]
Changed the html5 input type for DateTimeType to datetime-local (which is the html5 input type) instead of the datetime input type. The datetime input type field has been removed from WHATWG HTML (whatwg/html#336) The datetime-local input type is the type used for rendering DateTimeType when html5 option is set to true.
This PR was merged into the 3.4 branch. Discussion ---------- Fix typo of HTML5 field type for DateTimeType Changed the html5 input type for DateTimeType to datetime-local (which is the html5 input type) instead of the datetime input type. - The **datetime** input type field has been removed from WHATWG HTML (whatwg/html#336) - The **datetime-local** input type is the type used for rendering DateTimeType when html5 option is set to true. Commits ------- dd1749a Fix typo of HTML5 field type for DateTimeType
https://html.spec.whatwg.org/multipage/forms.html#date-and-time-state-(type=datetime)
Because there is no implementation now though Presto Opera had it.
We don't have a plan to implement it in Blink.
Presto: All input types were supported.
Blink: datetime is not supported.
Edge 13.10586: datetime is not supported.
Mobile Safari: datetime is not supported.
Mobile Firefox: month, week, datetime, and datetime-local are not supported.
Desktop Safari: date, datetime, datetime-local, month, time, and week are not supported.
Desktop Firefox: date, datetime, datetime-local, month, time, and week are not supported.
The text was updated successfully, but these errors were encountered: