Ignore:
Timestamp:
Mar 9, 2012, 2:31:55 PM (13 years ago)
Author:
[email protected]
Message:

REGRESSION: Date.parse("Tue Nov 23 20:40:05 2010 GMT") returns NaN
https://bugs.webkit.org/show_bug.cgi?id=49989

Reviewed by Oliver Hunt.

Patch originally by chris reiss <[email protected]>,
allow the year to appear before the timezone in date strings.

Source/JavaScriptCore:

  • wtf/DateMath.cpp:

(WTF::parseDateFromNullTerminatedCharacters):

LayoutTests:

  • fast/js/date-parse-test-expected.txt:
  • fast/js/script-tests/date-parse-test.js:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r110327 r110331  
     12012-03-09  Gavin Barraclough  <[email protected]>
     2
     3        REGRESSION: Date.parse("Tue Nov 23 20:40:05 2010 GMT") returns NaN
     4        https://bugs.webkit.org/show_bug.cgi?id=49989
     5
     6        Reviewed by Oliver Hunt.
     7
     8        Patch originally by chris reiss <[email protected]>,
     9        allow the year to appear before the timezone in date strings.
     10
     11        * wtf/DateMath.cpp:
     12        (WTF::parseDateFromNullTerminatedCharacters):
     13
    1142012-03-09  Mark Rowe  <[email protected]>
    215
Note: See TracChangeset for help on using the changeset viewer.