logoalt Hacker News

speedgooseyesterday at 2:40 PM1 replyview on HN

Isn't it the one from the web browser? An <input type="datetime-local" />

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...


Replies

webstrandyesterday at 3:01 PM

That one is highly inconsistent, on some platforms its useless. For instance on Chrome/linux entering historic dates via the datepicker takes minutes to slowly scroll through the years. Always build your own datepicker, you know better what UX pattern will best suit your application and your users.