From a76ba2f8c7e5d6f152e887ec210ffa16e2bbda8d Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Tue, 19 May 2026 10:44:03 +0100 Subject: [PATCH] feat(admin-events): event timezone picker and zoned save/load Add a USelectMenu for displayTimezone in Event Details (defaults to America/Toronto). On submit, convert each datetime-local string (startDate, endDate, registrationDeadline, earlyBirdDeadline) from the event's TZ to a UTC ISO string so the wall-clock time the admin entered is preserved regardless of their browser TZ. On edit, render stored UTC back through the event's TZ so the round-trip is stable. Reuses TIMEZONE_OPTIONS from ~/config/timezones and the picker pattern from member/profile.vue. Auto-imported helpers from app/utils/timezones do the math via Intl. --- app/pages/admin/events/create.vue | 91 +++++++++++++++++++++++++++++-- 1 file changed, 85 insertions(+), 6 deletions(-) diff --git a/app/pages/admin/events/create.vue b/app/pages/admin/events/create.vue index 087899d..6d73edc 100644 --- a/app/pages/admin/events/create.vue +++ b/app/pages/admin/events/create.vue @@ -110,6 +110,23 @@

+
+ + +

+ Dates below are interpreted in this timezone. Attendees see the + event time in this zone. +

+
+