Skip to content

Improvement: workflow schedules are silently UTC-only — no timezone picker, and a dead "UTC" column; default to the org/browser zone #2667

Closed

Description

@yannickmonney

Problem

Workflow schedule triggers hardcode timezone: 'UTC' on create and update, and there is no timezone control anywhere in the schedule dialog — yet the schedules table renders a timezone column that is therefore always "UTC". A user who picks "Daily" expecting local midnight silently gets 00:00 UTC, and the column is dead weight. The backend already supports per-schedule timezones (wfSchedulesTable.timezone, createScheduleBySlug arg), so this is a UI gap, and a natural "auto-determine to make life easier" candidate (default to the org's or the browser's zone, let the user change it).

Current behaviour

Code-grounded (2026-07-11, main @ 94ef84e):

  • app/features/workflows/triggers/components/schedule-create-dialog.tsx:210,222 — timezone: 'UTC' hardcoded on create + update; no picker in the dialog
  • app/features/workflows/triggers/components/schedules-section.tsx:107 — always-"UTC" timezone column
  • backend: wfSchedulesTable.timezone, createScheduleBySlug accepts a timezone

Repro: workflow → Triggers → Add schedule → "Daily" preset → Save → the row shows "UTC" and runs at UTC midnight regardless of locale.

Proposed change

Add a timezone selector defaulting to the org's configured zone (or the browser's Intl.DateTimeFormat().resolvedOptions().timeZone), persist it, and show the chosen zone in the column.

Acceptance criteria

  • Schedule dialog offers a timezone, defaulting to org/browser zone
  • The chosen zone persists and drives trigger time; the column reflects it
  • Existing UTC schedules are unaffected

Related: #2614 (closed — derive-from-context schedule inputs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions