Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery datepicker calender issues in Firefox [duplicate]

Tags:

I have wrong dates showing up in my jQuery UI datepicker in some 2016 months in Firefox (Mobile & Web). For example:

March 31, 2016 is Thursday and April 1, 2016 of course is a Friday - but not on my calendar, where it shows up as a Thursday, as well. There is the same issue for May 2016.

Please see screenshots:

March 2016 and April 2016

Note that I tried to use many versions of jQuery scripts but have the same issue with all of them.

like image 613
Abood326 Avatar asked Mar 24 '16 18:03

Abood326


1 Answers

Its not code issue..

This issue has been caused by Firefox with jquery datepicker because some countries had daylight saving changes on 2016-04-01, and the changes is right at 00:00:00! So these countries does not have 00:00:00 on 2016-04-01, Firefox is confused and thinks that 00:00:00 is still Thursday.

And the issue has been fixed while we are in 1-4-2016 ...

like image 68
Abu Yousef Avatar answered Oct 12 '22 10:10

Abu Yousef