[Webkit-unassigned] [Bug 130967] erroneous date calculations on march 30, 2014 (CET/CEST time zone) the day on which daylight savings time changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 2 09:37:06 PDT 2014


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


José Dapena Paz <jdapena at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #239091|review?                     |review+
               Flag|                            |




--- Comment #47 from José Dapena Paz <jdapena at igalia.com>  2014-10-02 09:37:03 PST ---
(From update of attachment 239091)
View in context: https://bugs.webkit.org/attachment.cgi?id=239091&action=review

>> LayoutTests/js/dom/script-tests/date-DST-time-cusps.js:12
>> +    testCases.push(["(new Date('Mar 09 2014 03:00:00')).getTimezoneOffset()", "420"]);
> 
> Here you should exercise Mar 09 2014 02:00:00, and 02:10:00 and getHours should return 3 in both cases (as in the original test case).

On Firefox the outcome is 3. On Chrome it is 1. I think both are valid. So we can proceed with this. The ES standard is not clear about how to handle this case anyway.

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