You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While ISO8601 permits omission of colon separators anywhere,
YAML.parse("a: 2018-01-31T16:40:39-0500")// Object { a: Date 2018-01-31T16:40:39.050Z }// Incorrect: Offset without colon interpreted as decimalYAML.parse("a: 2018-01-31T16:40:39.01-0500")// Object { a: "2018-01-31T16:40:39.01-0500" }// Failure: With decimal and non-colon offset, not parsedYAML.parse("a: 2001-12-14t21:59:43.10-05:00")// Object { a: Date 2001-12-15T02:59:43.100Z }// Correct: With decimal and colon offsetYAML.parse("a: 2001-12-14t01:59:43-05:00")// Object { a: Date 2001-12-14T06:59:43.000Z }// Correct: Without decimal, with colon
(0.3.0)
The text was updated successfully, but these errors were encountered:
While ISO8601 permits omission of colon separators anywhere,
(0.3.0)
The text was updated successfully, but these errors were encountered: