这个问题在这里已经有了答案:
Daylight Saving Cause an issue on jQuery UI datepicker on Firefox
(1 个回答)
5年前关闭。
在 2016 个月的 Firefox(移动和网络)中,我的 jQuery UI 日期选择器中显示了错误的日期。例如:
2016 年 3 月 31 日是星期四,2016 年 4 月 1 日当然是星期五 - 但不在我的日历上,它也显示为星期四。 2016 年 5 月也有同样的问题。
请看截图:
和
请注意,我尝试使用多个版本的 jQuery 脚本,但所有版本都存在相同的问题。
最佳答案
它不是代码问题..
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 中得到解决...
关于jquery-ui - Firefox 中的 jQuery 日期选择器日历问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36207234/