Skip to content

Commit

Permalink
OS#15077412: Update test/Date/parseISO.baseline for recent changes to…
Browse files Browse the repository at this point in the history
… Date parse implementation.

See:

* [ 30082da ] 2017-11-21 17:57 doilij@m.. [1.8>master] [MERGE chakra-core#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 chakra-core#3988 @xiaoyinl] Make Date.parse() support milliseconds (Fix chakra-core#3980)
* [ afc6789 ] 2017-10-26 19:19 doilij@m.. [MERGE chakra-core#4062 @xiaoyinl] treat two digit years less than 50 as 21st century years

Related: Issue chakra-core#4543: Refactor test parseISO.js to increase test coverage
  • Loading branch information
dilijev committed Jan 12, 2018
1 parent b5cf4ec commit 221abde
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 221abde

Please sign in to comment.