We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6e0cd1 commit 6cc21f1Copy full SHA for 6cc21f1
tests/date_test.ts
@@ -7,7 +7,7 @@ Deno.test("check if .formatDateString() works correctly", async (t) => {
7
8
await t.step(" check .formatDateString() with default options", () => {
9
const result = formatDateString(d);
10
- const reg = /^\w+\s\d+,\s+\d{4},\s\d+:\d+:\d+\s(AM|PM)\s(GMT)\+\d+$/;
+ const reg = /^\w+\s\d+,\s+\d{4},\s\d+:\d+:\d+\s(AM|PM)+/;
11
assertEquals(result.match(reg) !== null, true);
12
});
13
0 commit comments