EagleV
ZZod
•Created by EagleV on 8/4/2024 in #questions
EagleV - hi, how can I test zod z.date() using ...
you can use
z.coerce.date()
zod will parse your input to Date
https://zod.dev/?id=coercion-for-primitives3 replies