Skip to content

Commit

Permalink
[1.8>master] [MERGE #4544 @dilijev] OS#15077412: Update test/Date/par…
Browse files Browse the repository at this point in the history
…seISO.baseline for recent changes to Date parse implementation.

Merge pull request #4544 from dilijev:Bug15077412-parseISO

See:

* [ 30082da ] 2017-11-21 17:57 doilij@m.. [1.8>master] [MERGE #4067 @xiaoyinl] Make Date.to(UTC)String() outputs match web reality and spec language
* [ 03db098 ] 2017-11-21 14:58 doilij@m.. [1.8>master] [MERGE #3988 @xiaoyinl] Make Date.parse() support milliseconds (Fix #3980)
* [ afc6789 ] 2017-10-26 19:19 doilij@m.. [MERGE #4062 @xiaoyinl] treat two digit years less than 50 as 21st century years

Related: Issue #4543: Refactor test parseISO.js to increase test coverage
  • Loading branch information
dilijev committed Jan 13, 2018
2 parents 117c750 + b0a2395 commit c6ae741
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/Date/parseISO.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -7614,7 +7614,7 @@ Rejected: 11
Failed: 0

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Potential cross-browser compatilibity issues
// Potential cross-browser compatibility issues

// Leading and trailing whitespace, nulls, or non-whitespace non-nulls

Expand Down Expand Up @@ -7803,16 +7803,17 @@ Invalid Date
Invalid Date

0001-01-01Z
1901-01-01T00:00:00.000Z
-2177452800000 === -2177452800000
2001-01-01T00:00:00.000Z
978307200000 === 978307200000

// Optionality of minutes

0001-01-01T01Z
Invalid Date

0001-01-01T01:01:01.001+01
Invalid Date
2001-01-01T00:01:01.001Z
978307261001 === 978307261001

// Time-only forms

Expand Down Expand Up @@ -7892,7 +7893,7 @@ Wed Jul 22 16:04:54 2016
1469228694000 === 1469228694000

Total: 76
Accepted: 29
Rejected: 47
Accepted: 30
Rejected: 46
Failed: 0

0 comments on commit c6ae741

Please sign in to comment.