Skip to content

Commit 2ee9815

Browse files
authored
Allow tests to pass in western hemisphere (#3721)
1 parent 80c1b38 commit 2ee9815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wrangler/src/__tests__/d1/convert-timestamp-to-iso.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("convertTimestampToISO", () => {
1818
convertTimestampToISO(timestamp);
1919
} catch (e) {
2020
error = `${e}`.replace(
21-
/\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\d\+\d\d:\d\d/,
21+
/\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\d(\+|-)\d\d:\d\d/,
2222
"(DATE)"
2323
);
2424
}

0 commit comments

Comments
 (0)