Open
Conversation
Owner
|
I am reviewing the pull request and comparing the changes before and after, but it seems there is no difference. I need more information to identify the issue more clearly Screen.Recording.2025-03-19.at.02.34.13.mp4 |
Author
Weird, maybe it's timezone-related. Here, I have an event from March 29 to April 4, using the London timezone, which switches to summer time on the last Sunday in March. Here are the start and end times after applying the timezone: |
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.
Improve all-day events calculation
Problem
When creating an all-day event that spans multiple months, the calendar does not correctly divide the event.
For example, an event starting on March 28, 2025, and ending on April 2, 2025, currently only appears from March 28 to March 30. However, it should also create a continuation from March 31 to April 2.
Behavior Comparison
Solution
Added a check to determine whether the event spans multiple weeks. If the start and end weeks differ, an additional event segment is created to ensure proper display across month boundaries.