Firefox中的jQuery datepicker calender问题 [英] jQuery datepicker calender issues in Firefox
问题描述
在Firefox(Mobile& Web)的2016年的某个时候,我的jQuery UI datepicker中出现错误的日期。例如:
I have wrong dates showing up in my jQuery UI datepicker in some 2016 months in Firefox (Mobile & Web). For example:
2016年3月31日星期四和2016年4月1日当然是星期五 - 但不是在我的日历上,它显示为星期四,好。
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.
请看截图:
和http://i.stack.imgur.com/yTVfq.png
and
请注意,我尝试使用许多版本的jQuery脚本,但与所有这些脚本都有相同的问题。
Note that I tried to use many versions of jQuery scripts but have the same issue with all of them.
推荐答案
它不是代码问题..
这个问题是由于jquery datepicker的Firefox引起的,
某些国家在第4至第04-01号有夏令时的变化,而
更改是在00:00:00!所以这些国家在2014-04-01没有
00:00:00,Firefox很困惑,认为00:00:00
仍然是星期四。
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.
当我们在1-4-2016 ...时,问题已经修复...
And the issue has been fixed while we are in 1-4-2016 ...
这篇关于Firefox中的jQuery datepicker calender问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!