Skip to content

Fix stray calendar cells - #187

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

Fix stray calendar cells#187
edalzell merged 3 commits into
mainfrom
fix/calendar-day-timezone-mismatch

Conversation

@marcorieser

@marcoriesermarcorieser 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.

@marcoriesermarcorieser self-assigned this Aug 21, 2026
@edalzell
edalzell merged commit 30e75b2 into mainAug 21, 2026
25 checks passed
@edalzell
edalzell deleted the fix/calendar-day-timezone-mismatch branch August 21, 2026 19:08
Sign up for freeto 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

@marcorieser@edalzell