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".

  1. Reply Pedro Magalhães October 15, 2012 at 12:17 PM

    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).

  2. Reply David Bushell October 16, 2012 at 7:45 AM

    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.

  3. Reply Viviana November 10, 2012 at 12:47 PM

    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

Leave a reply