fix booking limits
parent
79a6aef0e7
commit
2882b5f7ca
|
@ -205,7 +205,7 @@ export const stringOrNumber = z.union([
|
|||
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({
|
||||
end: z.string().optional(),
|
||||
|
|
Loading…
Reference in New Issue