Bug 117260
| Summary: | Parsing ISO8061 dates fails if time offsets has no colon in it | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | gotofritz <fstelluto> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Normal | CC: | barraclough |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | All | ||
gotofritz
Hallo.
the following string cannot be parsed as a date by JavaScriptCore: "2011-09-01T00:00:00.000+0200"
the following can: "2011-09-01T00:00:00.000+02:00"
The only difference is the colons at the end, in the timezone offset part (+02:00)
Note that both formats are ISO8061 compliant, and are parsed correctly by all the other current major JS engines.
Thanks.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |