Skip to content

[Fix] Custom automation cards show cadence in the wrong timezone - #2444

Merged
roomote-roomote[bot] merged 1 commit into
developfrom
fix/custom-automation-cadence-timezone
Sep 10, 2026
Merged

[Fix] Custom automation cards show cadence in the wrong timezone#2444
roomote-roomote[bot] merged 1 commit into
developfrom
fix/custom-automation-cadence-timezone

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

​Opened on behalf of @daniel-lxs. Follow up by mentioning @roomote-roomote, in the web UI, or in Slack.

What changed

  • Saved custom-automation cron cards now parse and label cadence with the deployment's effective scheduling timezone instead of UTC.
  • The card reuses the same timezone suffix formatter as the custom-automation editor and preserves Custom schedule when timezone data is unavailable or the saved cron cannot be parsed.
  • Regression coverage exercises non-UTC, UTC, unavailable-timezone, invalid-cron, editor-summary, and server occurrence behavior.

Why this change was made

The custom-automation editor, save validation, and scheduled execution already use the resolved deployment timezone, but saved cards independently passed UTC to the cron parser and omitted the timezone from their visible cadence. This made the persisted summary ambiguous and inconsistent with when the automation actually runs.

Impact

A saved 0 9 * * * automation in America/New_York now displays Daily at 09:00 AM (America/New York), matching its editor preview and the server's 9 AM local execution semantics. UTC deployments remain explicitly labeled (UTC), while unavailable or invalid schedule data continues to degrade safely to Custom schedule.

The focused component, client cron, and server schedule suites pass, as do web and SDK type checks, web lint, full repository lint and type checks, knip, the full repository test suite, and pre-push gates. Desktop and mobile captures were taken from the exact shipped diff using genuine UI-created deployment and automation state.

Screenshots

Desktop

Saved custom automation cadence in America/New York on desktop

Mobile

Saved custom automation cadence in America/New York on mobile

@roomote-community

roomote-community Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Reviewed 37870fc

@roomote-roomote
roomote-roomote Bot merged commit 2641b0b into develop Sep 10, 2026
17 checks passed
@roomote-roomote
roomote-roomote Bot deleted the fix/custom-automation-cadence-timezone branch September 10, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant