[Webkit-unassigned] [Bug 218604] New: [JSC] Make a bit more consistent for local time parsing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 5 01:00:52 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=218604
Bug ID: 218604
Summary: [JSC] Make a bit more consistent for local time
parsing
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ysuzuki at apple.com
(In reply to Joren Broekema from comment #9)
> I looked a bit further.
> https://en.wikipedia.org/wiki/Daylight_saving_time#History gives some
> background on why this is happening for certain years. Also, I don't think
> Intl is at fault, I have issues with the native Date parsing process
>
> > new Date('1939-12-06')
> < Wed Dec 06 1939 01:00:00 GMT+0100 (CET)
>
> > new Date('12/06/1939')
> < Wed Dec 06 1939 00:00:00 GMT+0100 (CET)
>
> So it parses it differently based on how you supply the date string.
This is different issue from this bug. I think one format is parsed as local time, an the other is parsed UTC.
--
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/20201105/1bb652c1/attachment.htm>
More information about the webkit-unassigned
mailing list