[Webkit-unassigned] [Bug 142531] [Win] 17 different JSC tests started to fail in DST

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 10 13:04:10 PDT 2015


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

--- Comment #1 from peavo at outlook.com ---
This might be wrong, but I get zero stress test failures, with the diff below.
It seems the documentation for GetTimeZoneInformation can be interpreted as the DST bias is already included in the bias member.
Maybe someone can confirm?


Index: DateMath.cpp
===================================================================
--- DateMath.cpp        (revisjon 181279)
+++ DateMath.cpp        (arbeidskopi)
@@ -369,11 +369,7 @@
     if (rc == TIME_ZONE_ID_INVALID)
         return 0;

-    int32_t bias = 0;
-    if (rc == TIME_ZONE_ID_DAYLIGHT)
-        bias = timeZoneInformation.Bias + timeZoneInformation.DaylightBias;
-    else if (rc == TIME_ZONE_ID_STANDARD || rc == TIME_ZONE_ID_UNKNOWN)
-        bias = timeZoneInformation.Bias + timeZoneInformation.StandardBias;
+    int32_t bias = timeZoneInformation.Bias;

     return -bias * 60 * 1000;
 #else

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150310/28c2df2f/attachment-0002.html>


More information about the webkit-unassigned mailing list