Because now HTML5 not a draft but recommended standard - strange that Mozilla still not implement that input type.
HTML5 | date attribute in <input> TagThe date attribute in input tag creates a calendar to choose the date, which includes day, month and year.
Browser Support Note: The <input type="datetime-local"> element does not show any datetime field/calendar in Firefox.
The date and time input types produce controls for entering dates and time in the correct format, including providing native date pickers in some browsers. Date related types include: type=date (yyyy-mm-dd) Year, month, and day, with no time.
Currently, there is no cross browser, script-free way of styling a native date picker. As for what's going on inside WHATWG/W3C... If this functionality does emerge, it will likely be under the CSS-UI standard or some Shadow DOM-related standard.
If you really want to know when, you can ask here: Bug 825294 - Implement date/time input types on Desktop.
Also, please, vote for this issue, and write something inspiring to Firefox team. Hope it will help them to resolve this issue. :)
And now it's seems to be landed in firefox 57 (https://hacks.mozilla.org/2017/09/firefox-quantum-developer-edition-fastest-firefox-ever/)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With