[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:35:41 PDT 2017


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

--- Comment #2 from Yusuke Suzuki <utatane.tea at gmail.com> ---
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.

-- 
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/7e0b00e3/attachment.html>


More information about the webkit-unassigned mailing list