[Webkit-unassigned] [Bug 106750] new Date(2010, 10, 1) returns wrong date on Safari 6 and WebKit Nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 13 22:06:53 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106750





--- Comment #2 from john <john.th507 at gmail.com>  2013-01-13 22:08:42 PST ---
According to
http://www.timeanddate.com/worldclock/timezone.html?n=372&syear=2000
http://www.timeanddate.com/worldclock/timezone.html?n=372&syear=2010

KRAT uses daylight saving time in 2000~2009, then after Sunday, 31 October, 03:00 of 2010, KRAT sets to UTC+8h permanently.

So if I set the hour to anything larger that 2, then
new Date(2010,10,1,2)

yields correct result
Mon Nov 01 2010 02:00:00 GMT+3100 (KRAST)

A big thank to @fossilet for pointing it out.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list