Fix DST day generation for specific-times events#229
Merged
jonyTF merged 3 commits intoschej-it:mainfrom Mar 27, 2026
Merged
Conversation
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Contributor
Author
Thanks, good catch. I added a follow-up test for the The helper already handled that case correctly, so this ended up being a test-only change: it now verifies that we fall back to the browser/local timezone path when Current local result:
|
Contributor
|
Looks good to me :) |
# Conflicts: # frontend/src/utils/date_utils.js # frontend/src/utils/date_utils.test.js
# Conflicts: # frontend/src/utils/date_utils.js
# Conflicts: # frontend/src/utils/date_utils.test.js
002cb94 to
a9c6007
Compare
Contributor
Author
|
@jonyTF Hi, I fixed the merge conflicts. Many thanks for your great work! |
Member
|
great, thanks, will merge now :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Fixes #218
This PR is intentionally split into several commits:
b51ee6eadds failing regression tests for DST transitions in specific-times events.bb6f52afixes day generation so displayed days are derived from each date’s own local day boundary instead of one shared offset.7f5f342adds a non-DST control case.The current bug affects both DST directions:
The fix avoids exact-24-hour assumptions and compares local calendar days instead.