Bug 480767 - Incorrect calculation of multi-day recurrent events
Summary: Incorrect calculation of multi-day recurrent events
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.24.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-03 10:06 UTC by marcin.marcin.m
Modified: 2024-02-03 10:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example event from Merkuro (28.93 KB, image/png)
2024-02-03 10:06 UTC, marcin.marcin.m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcin.marcin.m 2024-02-03 10:06:56 UTC
Created attachment 165491 [details]
Example event from Merkuro

SUMMARY
When a recurrence rule for an event is defined, such that the event should recur on multiple weekdays, the recurrence is incorrectly calculated. The event is calculated to occur only once a week instead of several times a week.

The issue occurs with both Merkuro and KOrganizer, and is therefore likely an issue with akonadi. 

STEPS TO REPRODUCE
1. Create an event that recurs on multiple weekdays, e.g. Tue, Wed and Thu (cf. screenshot), whose first occurrence happens on Wed, that happens for 7 times.
 

OBSERVED RESULT
The event occurs for 7 weeks, every Wed.

EXPECTED RESULT
The event should occur for 3 weeks: 
week 1: Wed, Thu, 
week 2: Tue, Wed, Thu, 
week 3: Tue, Wed 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
On Android (synchronized with CalDAV) the same event is calculated correctly.