SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** Weekly start day in KOrganizer is set to Monday. Day picker still show a calendar with weeks starting at Sunday. STEPS TO REPRODUCE 1. Settings -> Time and Date -> Weekly start day: Monday (this has always been my setting.) 2. In agenda view, add an event. 3. Trigger the day picker by clicking the text box after "Start" or "End" OBSERVED RESULT The pop-up calendar should have Monday at the beginning of each row. EXPECTED RESULT The pop-up calendar has Sunday at the beginning of each row. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.16.12-gentoo-x86_64 / 5.24.4 (available in About System) KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
The week's starting day seems to be controlled by the user's locale. When I switch between Canadian English and français (France), KOrganizer switches between Sunday and Monday. The setting is shared by all KDE apps. It is set in System Settings, Regional Settings > Formats > Time. What locale are you using? (Another way to check is to run "locale LC_TIME -k" in a terminal. "first_weekday=2" in the output means the first weekday is Monday.)
(In reply to gjditchfield from comment #1) > The week's starting day seems to be controlled by the user's locale. > When I switch between Canadian English and français (France), > KOrganizer switches between Sunday and Monday. > The setting is shared by all KDE apps. It is set in System Settings, > Regional Settings > Formats > Time. > What locale are you using? > > (Another way to check is to run "locale LC_TIME -k" in a terminal. > "first_weekday=2" in the output means the first weekday is Monday.) I am on `LC_TIME="en_CA.UTF-8"`. However, as this is KOrganizer, and KOrganizer has its own setting entry for "start day of week," I as a user expect it should be used instead. In addition, I am not willing to change my current date format just to get the expected "start day of week" behaviour.
In other words, the behaviour in the agenda view (agrees with KOrganizer configuration) and the day picker ("agrees with LC_TIME") should be consistent with each other. Specially, the "week number" in the day picker is not consistent with the layout itself. If I pick Apr 10, 2022 (Sunday), it shows Week 14; if I pick Apr 11, 2022 (the following Monday), it shows Week 15! But the two days are on the same row. This is totally unexpected from a user's point of view. As I provided the information requested, I changed the status back to REPORTED.
The week number is a different can of worms: it is the ISO week number, https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system and by definition those weeks start on Monday.