Fix DST timezone handling for viewed event weeks#228
Fix DST timezone handling for viewed event weeks#228wslany wants to merge 5 commits intoschej-it:mainfrom
Conversation
|
Red proof for commit 4ceda5a. At this point the branch contains:
So the first commit is intentionally structured with:
Local result at commit:
Failing case: That failing result is intentional here: it demonstrates the bug exists and that the regression test really catches it before the fix is applied. |
|
Green proof for commit ece4641. This second commit wires the scheduling view and timezone selector to the new reference-date helpers so both the scheduling math and the visible GMT label are derived from the viewed event week instead of the current machine date. Local result at commit:
I also verified:
So the red/green sequence is now:
|
03c6413 to
5b76640
Compare
|
Looks good to me! |
Sorry, my mistake, please ignore the re-request. And many thanks for the feedback! |




Fixes #227
This PR is intentionally split into several commits:
I split it this way so review can follow a clear red/green sequence:
The first commit also includes unit tests for the new helper functions so the extracted date/offset logic is documented directly in tests, not only in implementation.