Just include this simple script and IE, macOS Safari, and legacy browser versions will support <input type="date">, without any dependencies, not even jQuery!
Support dynamically created inputs, so can be used in single page applications.
When submitting an HTML form, the browser will submit the date field's value
attribute (i.e. its text content), not the normalized content of the field's
valueproperty.
If you don't want that, one potential workaround is to change
the attribute upon form submission:
Run npm start or, for Cloud9 IDE users: npm run start-c9
Build
Run npm run build
Localization
Please submit PRs with new localizations! Open locales.js to add more.
File an issue on GitHub if anything is unclear.
Thanks
Some words of appreciation for those who have submitted tickets, pull requests,
and new localizations. The library is more robust and helpful to everyone
because of those who choose to help out.
请发表评论