Standalone JavaScript Datepicker – Pikaday


It is pretty hard to find a simple-yet-functional and good looking datepicker script.

The most popular one is probably the jQuery UI's picker but it is heavy in size for any project that actually does only need a datepicker.

Pikaday - JavaScript Datepicker

Pikaday is a standalone JavaScript datapicker which is small in size (<5kb) and can work well with Moment.js if advanced formatting is needed.

The design of the picker can be easily customized with CSS (the default style already looks good) and offers "quick year switching".

  • Just another datepicker with bugs on the timezones.
    That’s not your fault, but the author who release it without testing.

    Check this:

    1. Change the timezone of your computer to UTC -4h (Cuiab√°, Brazil).
    2. Now click on the day 21 October on the datepicker.
    3. Check the day it pass to the input text (20).

  • Hi Pedro,

    would you be able to report a detailed description of this bug on the GitHub issue tracker? I’m having trouble replicating this problem. From understanding your steps here it doesn’t seem possible to achieve that value but I’d like to make sure.

  • Viviana

    I have the same exact problem, I’ve got an error when using calendar in Porto Alegre, Brasil, at 21 Octuber. There is the only place and date it ocurrs. Is there any way to solve it ? Thanks