Summary: | Recurrence deletion for events created in another timezone does not work | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | tusooa <tusooa> |
Component: | incidence editors | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | https://invent.kde.org/pim/korganizer/-/commit/8121e4aedb67660dbea3654a569121cd9e463422 | Version Fixed In: | 24.02 |
Sentry Crash Report: |
Description
tusooa
2024-02-14 02:53:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/korganizer/-/merge_requests/117 Git commit 8121e4aedb67660dbea3654a569121cd9e463422 by Daniel Vrátil. Committed on 19/02/2024 at 10:59. Pushed by dvratil into branch 'release/24.02'. Use correct timezone when creating recurrence exception When an incidence occurs on a different day in its original timezone than in the user's local timezone, deleting a recurrence gives us a date in the user's local timezone. However, in order for the recurrence exception to work, the exception date must fall on a date in the incidence's original timezone. This change makes sure that the recurrence exception is correctly converted from local time to the incidence's original timezone before storing it. This commit only covers deleting a recurrence ocurrence from KOrganizer event view. Additional similar patch for the Incidence Editor is needed to show/create exceptions correctly there. FIXED-IN: 24.02 M +5 -3 src/calendarview.cpp https://invent.kde.org/pim/korganizer/-/commit/8121e4aedb67660dbea3654a569121cd9e463422 Git commit cedb100cb3158d0071358e4c1cc73bbda35412e0 by Daniel Vrátil. Committed on 21/02/2024 at 07:44. Pushed by dvratil into branch 'master'. Correctly handle timezone of recurrence exceptions An incidence can occur on a different day in its original timezone than in the user's local timezone. The incidence editor's exception recurrence editor should always show the exception dates in the user's local timezone. M +9 -5 src/incidencerecurrence.cpp https://invent.kde.org/pim/incidenceeditor/-/commit/cedb100cb3158d0071358e4c1cc73bbda35412e0 |