Skip to content

Commit 93e79c8

Browse files
test: fix tz test
1 parent bdad8ad commit 93e79c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ describe('date parsing', () => {
927927
});
928928

929929
it("parses iso8601 with 2 digit milliseconds and timezone without specified format", () => {
930-
expect(parseDate("2000-10-10T14:30:00.03+02:00")).toEqual(new Date(2000, 9, 10, 15, 30, 0, 30));
930+
expect(+parseDate("2000-10-10T14:30:00.03+02:00")).toEqual(Date.parse("2000-10-10T14:30:00.03+02:00"));
931931
});
932932

933933
it("parses datetime with timezone offset (hours)", () => {

0 commit comments

Comments
 (0)