我正在使用jQuery Weekly Calendar插件(https://github.com/robmonie/jquery-week-calendar /维基/)。当我提醒startTime和endTime(它也进入数据库)时,我在Mac和Windows上得到了不同的结果。Mac上的Chrome浏览器显示时间(MST),但PC上的Chrome浏览器显示时间(Mountain Standard Time)
Chrome的Mac上显示的时间为:
星期六2011年11月26日13点10分00秒GMT-0700(MST)
凡为Chrome浏览器在Windows上显示的时间为:
Sat Nov 26 2011 13:10:00 GMT-0700(Mountain Standard Time)
任何想法为什么会发生这种情况?在jQuery的周日历脚本,我想也许需要以某种方式改变了这些行:
$timestampsOfOptions.start[timeslotTimes[i].startFormatted] = startTime.getTime();
$timestampsOfOptions.end[timeslotTimes[i].endFormatted] = endTime.getTime();
但我真的不知道要诚实。