mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
refactor: remove unused coerce
This commit is contained in:
parent
cb5682c0d2
commit
bacf458bdb
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ const dateFieldSchema = z.object({
|
|||
.union([
|
||||
sqlSchema,
|
||||
// transform to ISO string for serialization
|
||||
z.coerce.date().transform((d) => d.toISOString()),
|
||||
z.date().transform((d) => d.toISOString()),
|
||||
])
|
||||
.optional(),
|
||||
}),
|
||||
|
|
Loading…
Add table
Reference in a new issue