[Webkit-unassigned] [Bug 209455] [Win] http/tests/misc/last-modified-parsing.html always fails on Windows EWS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 19:13:28 PDT 2021


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

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Hironori.Fujii at sony.com

--- Comment #7 from Fujii Hironori <Hironori.Fujii at sony.com> ---
There are two problems.

run-webkit-tests set 'TZ' env var to 'US/Pacific' (Bug 186612).
However, Windows' std::localtime doesn't understand it, and treats it GMT.
'TZ' env var should be 'PST8PDT' for Windows.

_tzset | Microsoft Docs
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/tzset

Date.parse() doesn't take 'TZ' env var into account.
It always assumes the local timezone.

-- 
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/20210514/a32e26c3/attachment.htm>


More information about the webkit-unassigned mailing list