fix booking limits

fix/booking-limits
CarinaWolli 2023-11-01 03:35:18 +10:00
parent 79a6aef0e7
commit 2882b5f7ca
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export const stringOrNumber = z.union([
z.number().int(), z.number().int(),
]); ]);
export const stringToDayjs = z.string().transform((val) => dayjs(val)); export const stringToDayjs = z.string().transform((val) => dayjs(val).utcOffset(val.slice(-6)));
export const bookingCreateBodySchema = z.object({ export const bookingCreateBodySchema = z.object({
end: z.string().optional(), end: z.string().optional(),