[Webkit-unassigned] [Bug 12975] Layout test failure: DST changes in US affect JavaScript date calculations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 10 07:45:19 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12975





------- Comment #10 from darin at apple.com  2007-03-10 07:45 PDT -------
(In reply to comment #1)
> Great catch, Kirby!  I think this illustrates how stupid JavaScript's (or is it
> ECMAScript's?) date rules are.  Why shouldn't JavaScript dates reflect reality?

As an aside (probably not entirely relevant to fixing this bug):

I suspect that ECMAScript's rules for dates are simply a standards-ese way of
saying "match the Windows OS system calls", because I believe Windows
implementation of calls like these does not take historical DST into account.

Supporting that theory is the fact that Firefox more or less matches the spec
on Windows but does yield historical DST results on Macintosh.


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



More information about the webkit-unassigned mailing list