Bug 498390

Summary: Wrong calendar week number at end of the year
Product: [Applications] korganizer Reporter: Thomas Murach <asiasuppenesser>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.24.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: This is the source of information
Here we see this information in KOrganizer

Description Thomas Murach 2025-01-08 16:53:16 UTC
Created attachment 177201 [details]
This is the source of information

SUMMARY
The calendar week ("Kalenderwoche" in German) starting on Monday, Dec 30 2024, was counted as week 1 of 2025, at least in Germany. The source of these week numbers is a Google calendar in my case, and as shown in the attachment, google simply says "KW 1" (Kalenderwoche 1). Now, Korganizer or whatever library it uses underneath makes this "Kalenderwoche 1 2024", which is wrong. It should be 2025.


STEPS TO REPRODUCE
1. Import google calendar in Korganizer
2. Activate the display of week numbers
3. Navigate to the week starting at Dec 30, 2024
4. Observe value of that week number

OBSERVED RESULT
Week 1 2024

EXPECTED RESULT
Week 1 2025

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 Thomas Murach 2025-01-08 16:53:52 UTC
Created attachment 177202 [details]
Here we see this information in KOrganizer