diff --git a/yaml/parse_test.ts b/yaml/parse_test.ts index 22652b2356e4..b065b0cb95d5 100644 --- a/yaml/parse_test.ts +++ b/yaml/parse_test.ts @@ -422,12 +422,16 @@ Deno.test({ parse(` - 2001-12-15T02:59:43.1Z - 2001-12-14t21:59:43.10-05:00 +- 2001-12-14t21:59:43.10+05:00 - 2001-12-14 21:59:43.10 -5 +- 2001-12-14 21:59:43.10 +5 - 2002-12-14`), [ new Date(Date.UTC(2001, 11, 15, 2, 59, 43, 100)), new Date("2001-12-14T21:59:43.100-05:00"), + new Date("2001-12-14T21:59:43.100+05:00"), new Date("2001-12-14T21:59:43.100-05:00"), + new Date("2001-12-14T21:59:43.100+05:00"), new Date("2002-12-14"), ], );