Closed Bug 508771 Opened 15 years ago Closed 15 years ago

Date.parse should attempt to parse string as toISOString format first

Categories

(Rhino Graveyard :: Core, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rspeyer, Assigned: norrisboyd)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.196 Safari/532.0
Build Identifier: Rhino 1.7 release 2 2009 03 22

As per 15.9.4.2. The format is detailed in 15.91.15.

Reproducible: Always
Blocks: 489326
Checking in src/org/mozilla/javascript/NativeDate.java;
/cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/NativeDate.java,v  <--  NativeDate.java
new revision: 1.72; previous revision: 1.71
done
RCS file: /cvsroot/mozilla/js/rhino/testsrc/doctests/date.parse.doctest,v
done
Checking in testsrc/doctests/date.parse.doctest;
/cvsroot/mozilla/js/rhino/testsrc/doctests/date.parse.doctest,v  <--  date.parse.doctest
initial revision: 1.1
done
Assignee: nobody → norrisboyd
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: