[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:39:38 PST 2013


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





--- Comment #3 from john <john.th507 at gmail.com>  2013-01-13 22:41:27 PST ---
Perhaps, the Date function treats KRAT time differently before and after the DST change.
So when the time is before the Sunday, 31 October, 02:00 of 2010, like,
new Date(2010,10,1,1,59,59)

it returns
Sun Oct 31 2010 02:59:59 GMT+0800 (KRAT)

when adding one second to the previous example
new Date(2010,10,2)

it returns
Mon Nov 01 2010 02:00:00 GMT+3100 (KRAST)

While the date is right,
the timezone (GMT+3100) is not quite right (maybe), it should be GMT+0800.

-- 
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