
Description
Pikaday is a JavaScript datepicker that you bind to an input field. The README describes it as lightweight, under 5kb minified and gzipped, with no dependencies, and says it plays well with Moment.js. Its CSS classes are modular, so you can style it. You can install it as an npm package or link directly to the CDN, and include the Pikaday CSS file in the same way. A Pikaday instance can be bound to an input field, or appended anywhere in the document if it is not tied to a field. If you use jQuery, pass only the first element. By default, dates are formatted and parsed with the standard JavaScript Date object. If Moment.js is in scope, it is used for formatting and parsing, and a format option is passed to the Moment constructor. For more control, you can supply your own toString function, which receives the date and a format and returns a string. The README warns that the returned string must parse correctly with Date.parse. It also says Pikaday has been stable and used in production since version 1.0.0. Bugs and feature requests go to the GitHub issue tracker.…
Highlights
- Lightweight datepicker, under 5kb minified and gzipped
- No dependencies, works with Moment.js
- Modular CSS classes for styling
- Bind to an input or place anywhere
- Stable since version 1.0.0
Ratings & Reviews
No ratings yet
Be the first to rate @handsontable/pikaday.
People also visit
@handsontable/pikaday FAQ
What is Pikaday?
A JavaScript datepicker that binds to an input field or can be placed anywhere on the page. It has no dependencies.
How do I install it?
Install it as an npm package, or link to the CDN. Include the Pikaday CSS file in the same way.
How are dates formatted?
By default it uses the standard JavaScript Date object. If Moment.js is available, it formats and parses with Moment.js, using the format option.
Can I use my own date format?
Yes. Pass a toString function that receives the date and format and returns a string. The README warns that the string must parse correctly with Date.parse.
Is it ready for production?
The README says it has been stable and used in production since version 1.0.0. Bugs and feature requests go to the GitHub issue tracker.
What are the best @handsontable/pikaday alternatives?
Popular alternatives to @handsontable/pikaday include pikaday, litepicker and @eonasdan/tempus-dominus. See all @handsontable/pikaday alternatives















