[Webkit-unassigned] [Bug 172637] REGRESSION(r217458): [Linux] 55 javascript tests are failing after r217458
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 26 03:53:45 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=172637
--- Comment #3 from Yusuke Suzuki <utatane.tea at gmail.com> ---
(In reply to Yusuke Suzuki from comment #2)
> It seems something goes wrong.
>
> // Set TZ=America/Los_Angeles
> let date = new Date("May 8 -1");
> print(date);
>
> "Fri May 07 -001 23:59:02 GMT-0752 (LMT)"
>
> Maybe, Linux returns wrong value if the year is not within expected ones.
>
> I dumped some of is_dst and tm_gmtoff * msPerSecond.
>
> If dst is set,
> 1 -25200000.000000
>
> If dst is not set,
> 0 -28800000.000000
>
> That's correct. In the above (-1 year) case,
>
> 0 -28378000.000000
>
> That's clearly wrong.
> I think we should recover the previous code for non-darwin environment.
Ah, No! That's more correct. It is Local Mean Time!
Before timezone is introduced, this mechanism is used. And it is replaced with timezone after 1883 Nov 18 12:07:02.
https://github.com/tzinfo/tzinfo-data/blob/master/data/northamerica#L487
But... who wants it?
--
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/20170526/f259a93d/attachment.html>
More information about the webkit-unassigned
mailing list