claude-code - 💡(How to fix) Fix [BUG] Routine scheduler skips Monday when timezone is UTC+8 (SGT/CST) — weekday check applied in UTC instead of local time

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Root Cause

4:10 AM SGT = 20:10 UTC the previous day.
Monday 4:10 AM SGT = Sunday 20:10 UTC.

If the scheduler applies the "weekdays only" filter in UTC, Sunday is excluded, so the Monday run is silently skipped. Tuesday–Friday work correctly (they map to Mon–Thu UTC).

Fix Action

Workaround

Set routine time to 08:01 AM SGT or later (UTC equivalent is 00:01 the same day, safely within UTC weekdays). Earlier times cannot be used without hitting this bug.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Bug Description

A Claude Code routine configured to run "weekdays at 4:10 AM SGT" (UTC+8) never fires on Monday.

Root Cause

4:10 AM SGT = 20:10 UTC the previous day.
Monday 4:10 AM SGT = Sunday 20:10 UTC.

If the scheduler applies the "weekdays only" filter in UTC, Sunday is excluded, so the Monday run is silently skipped. Tuesday–Friday work correctly (they map to Mon–Thu UTC).

Affected Timezones

Any UTC+ timezone where early-morning routines cross the UTC date boundary back into the previous (weekend) day. SGT (UTC+8), CST (UTC+8), JST (UTC+9), AEST (UTC+10), etc.

What Should Happen?

Expected Behavior

"Weekdays" should be evaluated in the routine's configured timezone, not in UTC.

Error Messages/Logs

Steps to Reproduce

Workaround

Set routine time to 08:01 AM SGT or later (UTC equivalent is 00:01 the same day, safely within UTC weekdays). Earlier times cannot be used without hitting this bug.

Environment

  • Claude Code on the web (claude.ai/code)
  • Routine schedule: "Runs weekdays at 4:10 AM SGT"
  • Observed: routine did not fire on Monday 2026-06-02 at 04:10 SGT

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.9659.2 (390d6c) 2026-05-28T21:50:01.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Routine scheduler skips Monday when timezone is UTC+8 (SGT/CST) — weekday check applied in UTC instead of local time