Skip to content

Commit e8b2f26

Browse files
committed
update
1 parent 0702d6e commit e8b2f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/zod/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ function makeScalarSchema(fieldDef: FieldDef): ZodType {
2828
.with('String', () => z.string())
2929
.with(P.union('Int', 'BigInt', 'Float', 'Decimal'), () => z.number())
3030
.with('Boolean', () => z.boolean())
31-
.with('DateTime', () => z.iso.datetime())
31+
.with('DateTime', () => z.string().datetime())
3232
.otherwise(() => z.unknown());
3333
}

0 commit comments

Comments
 (0)