Skip to content

Commit 6cc21f1

Browse files
committed
Fix ci checking date format
1 parent d6e0cd1 commit 6cc21f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/date_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Deno.test("check if .formatDateString() works correctly", async (t) => {
77

88
await t.step(" check .formatDateString() with default options", () => {
99
const result = formatDateString(d);
10-
const reg = /^\w+\s\d+,\s+\d{4},\s\d+:\d+:\d+\s(AM|PM)\s(GMT)\+\d+$/;
10+
const reg = /^\w+\s\d+,\s+\d{4},\s\d+:\d+:\d+\s(AM|PM)+/;
1111
assertEquals(result.match(reg) !== null, true);
1212
});
1313

0 commit comments

Comments
 (0)