Skip to content

Default a new one-off reminder to 9:00 tomorrow in your timezone - #100

Merged
rociiu merged 1 commit into
rociiu:mainfrom
rudycelekli:fix/reminder-tomorrow-owner-tz
Oct 26, 2026
Merged

rociiu merged 1 commit into
rociiu:mainfrom
rudycelekli:fix/reminder-tomorrow-owner-tz

Conversation

@rudycelekli

Copy link
Copy Markdown
Contributor

Summary

  • A new one-off reminder prefilled 9:00 tomorrow from this browser's clock. The schedule is read in the timezone chosen in Settings, so the form could offer the wrong day, or a time that had already passed there.
  • Tomorrow is the next calendar date in that timezone. Adding 24 hours lands on the day after tomorrow when daylight saving springs forward.

Test plan

  • npx vitest run test/automation-default-time.test.ts in apps/web
    • Before: 2 failed. Received 2026-10-26T09:00 (this browser's tomorrow) instead of 2026-03-14T09:00 and 2026-03-08T09:00.
    • After: 2 passed.
  • Open Automations → New, leave the schedule on Once, and confirm the time is 09:00 on tomorrow's date in Settings → Timezone.

Made with Cursor

@rociiu

rociiu commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thanks @rudycelekli — clear write-up and a solid regression test. Merging!

@rociiu
rociiu merged commit 7c37c92 into rociiu:main Oct 26, 2026
1 check passed
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.

2 participants