From 0c7aafc429f57ef4609e9a2c3fe1f66e3aa207bd Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 14 Oct 2024 15:41:21 -0700 Subject: [PATCH] Output timezone --- src/z/new-types/date-string.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/z/new-types/date-string.test.ts b/src/z/new-types/date-string.test.ts index 182340b..3881d4a 100644 --- a/src/z/new-types/date-string.test.ts +++ b/src/z/new-types/date-string.test.ts @@ -6,7 +6,7 @@ describe('dateString', () => { let result: SafeParseReturnType function is(value: unknown, expected: boolean) { - console.log('timezone', process.env.TZ); + console.log('timezone', Intl.DateTimeFormat().resolvedOptions().timeZone); result = schema.safeParse(value) expect(result.success).toBe(expected) if (!result.success) {