Skip to content

Commit

Permalink
Output timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLorantfy committed Oct 14, 2024
1 parent 88c7d8a commit 0c7aafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z/new-types/date-string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('dateString', () => {
let result: SafeParseReturnType<unknown, unknown>

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) {
Expand Down

0 comments on commit 0c7aafc

Please sign in to comment.