Skip to content

Test events whose local time falls on another UTC day - #223

Merged
edalzell merged 1 commit into
6.xfrom
test/timezone-boundaries
Sep 30, 2026
Merged

edalzell merged 1 commit into
6.xfrom
test/timezone-boundaries

Conversation

@edalzell

Copy link
Copy Markdown
Member

Summary

  • Extends the evening occursOnDate coverage from Read ICS dates in the event timezone #222 to multi-day, recurring, exclude dates, upcoming, and an early-morning timezone ahead of UTC.
  • Keeps the app timezone at UTC and uses clock times that land on a different UTC date, which midday and same-zone fixtures never did.
  • Locks the recurring ICS DTSTART and UNTIL to the event's local clock. That output was already correct, so no production change.

Test plan

  • vendor/bin/pest tests/EventsTest.php tests/Types/SingleDayEventsTest.php tests/Http/Contollers/IcsControllerTest.php
  • CI

Midday times and same-zone fixtures hid the evening ICS date bug.
@edalzell edalzell added the chore label Sep 30, 2026
@edalzell
edalzell merged commit e2fe2de into 6.x Sep 30, 2026
40 of 49 checks passed
@edalzell
edalzell deleted the test/timezone-boundaries branch September 30, 2026 22:58
@edalzell edalzell mentioned this pull request Sep 30, 2026
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.

1 participant