[Webkit-unassigned] [Bug 160287] New: Error "Invalid date" if you parse ISO8601 date to without a colon between hour and minute of timezone
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 28 02:18:51 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=160287
Bug ID: 160287
Summary: Error "Invalid date" if you parse ISO8601 date to
without a colon between hour and minute of timezone
Classification: Unclassified
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: florian at essog.de
If I try to parse a string which contains a date without a colon between hour and minute of timezone it is an invalid date.
Code to reproduce:
```
new Date('2016-07-27T16:42:16+0000');
```
or if you try to parse a date string:
```
Date.parse('2016-07-27T16:42:16+0000');
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160728/4481efcc/attachment-0001.html>
More information about the webkit-unassigned
mailing list