Skip to content

Commit d26c3c4

Browse files
committed
test: fix not working date tests due to missing UTC
1 parent 17846c2 commit d26c3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/general/scopes/get-relative-date.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const testData = [
3636
for (const [input, output] of testData) {
3737
const testName = `Relative Date: ${JSON.stringify(input)}`;
3838
// Example date was taken from MDN docs
39-
const equalDate = new Date("December 17, 1995 03:24:00");
39+
const equalDate = new Date("December 17, 1995 00:24:00 UTC");
4040

4141
test(testName, () => {
4242
expect(

0 commit comments

Comments
 (0)