Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Fix time format schema (#1593)

Luke Vella8c84a92a5858
diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.ts
index 06fec8a91..37415cab5 100644
--- a/apps/web/src/next-auth.ts
+++ b/apps/web/src/next-auth.ts
@@ -19,7 +19,7 @@ import { nextAuthConfig } from "./next-auth.config";
const sessionUpdateSchema = z.object({
locale: z.string().nullish(),
- timeFormat: z.enum(["12h", "24h"]).nullish(),
+ timeFormat: z.enum(["hours12", "hours24"]).nullish(),
timeZone: z.string().nullish(),
weekStart: z.number().nullish(),
});