Skip to content

Fix stray calendar cells - #187

Merged
edalzell merged 3 commits into
mainfrom
fix/calendar-day-timezone-mismatch
Aug 21, 2026
Merged

edalzell merged 3 commits into
mainfrom
fix/calendar-day-timezone-mismatch

Conversation

@marcorieser

@marcorieser marcorieser commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Closes: #186


Note

Low Risk
Display-only calendar grouping fix with added tests; no auth, persistence, or API contract changes.

Overview
Stops the events calendar tag from appending extra days when occurrences straddle the grid in a non-app timezone.

calendar() now builds the month grid in the requested timezone and keeps only occurrence groups whose dates already exist in that grid, so merge cannot add cells before the first week or after the last. Tests cover behind-UTC timezones, overnight spans past the last day, and DST.

Reviewed by Cursor Bugbot for commit aaa3a50. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added the fix label Aug 21, 2026
@marcorieser marcorieser self-assigned this Aug 21, 2026
@marcorieser
marcorieser requested a review from edalzell August 21, 2026 12:47
@edalzell
edalzell merged commit 30e75b2 into main Aug 21, 2026
25 checks passed
@edalzell
edalzell deleted the fix/calendar-day-timezone-mismatch branch August 21, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calendar renders a stray day cell when a timezone param is used

2 participants