There was an error while loading. Please reload this page.
1 parent 68e10ee commit 8f1405cCopy full SHA for 8f1405c
1 file changed
source/ccci-stolaf-college/v1/reports.ts
@@ -6,7 +6,7 @@ import {createRouteSpec} from 'koa-zod-router'
6
const MealTimeSchema = z.array(
7
z.object({
8
date: z.string().date(),
9
- times: z.record(z.string().time(), z.number()),
+ times: z.record(z.string().regex(/^[0-2]\d:[0-5]\d$/), z.number()),
10
}),
11
)
12
0 commit comments