From ef88d29e98e532d6b56a9b84f4892457fa01add1 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 11 Sep 2026 17:38:17 +0300 Subject: [PATCH 1/2] feat(functions): align cron UI with backend timezone contract Add IANA timezone on cron create/edit, validate schedule in that zone, and stop dual-writing the pattern into inputs.event. --- src/components/functions/ConfigForm.tsx | 32 ++++++++++--- .../functions/CreateFunctionForm.tsx | 2 +- src/components/functions/EditFunctionForm.tsx | 3 +- src/components/functions/zod.ts | 45 ++++++++++++++----- src/lib/models/functions/schemas.ts | 1 + 5 files changed, 62 insertions(+), 21 deletions(-) diff --git a/src/components/functions/ConfigForm.tsx b/src/components/functions/ConfigForm.tsx index 48162aec1..2dcf8b518 100644 --- a/src/components/functions/ConfigForm.tsx +++ b/src/components/functions/ConfigForm.tsx @@ -44,7 +44,15 @@ export const ConfigForm = ({ middlewares, data }: ConfigFormProps) => {