input datetime-local max
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: jueliezermdp, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Steps to reproduce:
1- create a datetime-local input with max range yyyy (only 4 numbers) the formatter will go to format until 6 numbers
Actual results:
it doesnt format correctly
Expected results:
the expected is dd-mm-yyyy HH:mm, but is giving dd-mm-yyyyy
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Please provide a minimal, self-contained testcase, and locale information.
Comment 3•2 years ago
•
|
||
Here's a testcase that I think matches what the reporter described:
data:text/html,<input type="datetime-local" max="2025">
For me, that renders just fine. (the 4-digit max doesn't change the rendering at all)
I suspect this might not be a real bug report; we received a handful of what seem to be "test/example bugs" from new Bugzilla accounts over the past week (e.g. bug 1815005), and I think this might be one of those. (Please don't file text/example bugs in this bug tracker, as it just wastes people's time.)
If this is in fact a real bug report, please accept my apologies for misunderstanding, and please reopen this bug with more information (a live testcase, your information about your locale, and ideally a screenshot showing the issue and comparing to another browser with expected-results) -- all of that info would be much appreciated. Thanks!
Description
•