-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(caldav): Fix reminder timezone drift for all-day events #36192
fix(caldav): Fix reminder timezone drift for all-day events #36192
Conversation
/backport to stable25 |
/backport to stable24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works. Nice one!
Setting the calendar timezone is not possible from our UI yet, right?
Correct. Coming with nextcloud/calendar#4935 hopefully |
Signed-off-by: Christoph Wurst <[email protected]>
bbe17e6
to
b5f7afd
Compare
/backport to stable24 |
I’m just an end user, not a dev but running NC 26.0.3. The time zone drift for all day event reminders still occurs for me. Doesn’t matter if I use the personal calendar that is automatically created or a new calendar that I create. My time zone is set correctly in the nc calendar app settings app. Is this expected still? |
@Luncheon3462 That is unfortunate. Please open a new issue and follow the bug template so that we can track and investigate the issue. |
@st3iny I'll do my best. Not a developer or github user. Only created an account to let you, @ChristophWurst @tcitworld @miaulalala know that the bug may still be present. I also posted on the nextcloud forum, and at least one other person is reporting the same. That thread is at https://help.nextcloud.com/t/calendar-timezone-bug-36192/167212 |
Contributes to nextcloud/calendar#4778
Summary
All day events contain no timezone information. Yet reminders are specified relative to the event start. Each calendar has an optional timezone. If it's set, we should use that to determine the correct UTC timestamp for the reminder. As a fallback we should use UTC.
Ref https://www.rfc-editor.org/rfc/rfc4791#section-5.2.2
TODO
Checklist