Hey! Hit this while deploying invoice reminders in Copenhagen today. Our 02:00 job skipped on spring-forward Sunday. Not sure how you prefer DST gaps handled, so I left my agent's notes below.
nextRun(), 2 files
✓ 14/14
schedule.ts, dst.test.ts
Model claude-opus-4-6
nextRun() in src/schedule.ts:84 builds wall-clock times with setHours(). On 2026-03-29, 02:00 does not exist in Europe/Copenhagen, so the job skips the day.03:00). Adds regression tests for Europe/Copenhagen and America/New_York.8a1f3c2 clamp nonexistent DST minutes
Thanks for reporting and sending a fix, Sara! Clamping to 03:00 makes sense. My agent caught a half-hour timezone edge case below. Ready to merge once that's in.
src/schedule.ts:91
src/schedule.ts:91
dstGapMinutes = 60 assumes 1-hour shifts. In 30-minute DST zones such as Australia/Lord_Howe, it skips a valid 02:30 run.getOffset(t + 3600e3) - getOffset(t - 3600e3) instead of hardcoding 60.schedule.ts, dst.test.ts
Model claude-opus-4-6
nextRun() in src/schedule.ts:84 builds wall-clock times with setHours(). On 2026-03-29, 02:00 does not exist in Europe/Copenhagen, so the job skips the day.03:00). Adds regression tests for Europe/Copenhagen and America/New_York.