Because as much as we like open standards, the HTML5 input types lack browser support and are poorly implemented in places; see Chrome (22 as of writing) below:
This leaves us with a tricky situation. Normally we can safely use new web standards with the knowledge that non-supporting browsers will simply ignore them, or we can use feature detection to progressively enhance the experience. With the state of the new input types however, this unfortunately means polyfill-only for the foreseeable future.
Pikaday demo and source on GitHub.
Pikaday is packed below 5kb and isn’t even dependent on jQuery. It does play well with Moment.js if you need advanced formatting. This datepicker has literally been on my “projects to build” list for years. I’ve seen alternatives since but nothing I’ve been happy to develop further.
What’s next? Please report any bugs and feature requests on the GitHub issue tracker. I’m working on date range and time selection. I’ll likely ship it on a live website soon and announce a production-ready version.
(This project has delayed my redesign but rest assured it’ll happen soon!)