jQuery datepicker issue

submit to reddit

I’d really bad experience with the jQuery datepicker. The issue was that there mysteriously appeared two 26th of October and that resulted in shifting the days with one and it all appeared wrong. The Mondays became Tuesdays and so on.

The bug became clear after realizing that on 26th of October was when happened light saving changes. The function used in the datepicker was GMT related, the fix is when this function is substituted with simple date function with no GMT conversion.

Related posts:

  1. jQuery datepicker persist defaultDate
  2. Flex 3 DateChooser UTC issue
  3. javascript get locale month with full name

You are a GREAT developer? Click here to answer the weekly quiz!

This entry was posted in featured, javascript, web development and tagged , , , . Bookmark the permalink.

One Response to jQuery datepicker issue

  1. andry says:

    I was wandering where the problem was! very nice!

    best whishes

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">