mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
test(yaml): add positive timezone timestamp test (#5881)
This commit is contained in:
parent
9ad71ee178
commit
f86e91119f
@ -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"),
|
||||
],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user