Bug 429821

Summary: Date Search: add supports of start of week day in calendar grid depending of LOCALE settings (Sunday / Monday)
Product: [Applications] digikam Reporter: Mike Morrison <mike>
Component: Searches-DatesAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.2.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Calendar grids compared

Description Mike Morrison 2020-11-29 19:37:04 UTC
Created attachment 133735 [details]
Calendar grids compared

The calendar grid in the lower left corner of Dates view starts each week with Monday, but the dropdown date picker in the Adjust Time & Date Tool starts each week with Sunday. Screenshot comparison attached. Perhaps for consistency these displays should match, possibly via a user preference or locale setting.

SOFTWARE/OS VERSIONS
Ubuntu 20.10
digikam-7.2.0-beta2-20201120T061443-x86-64.appimage 
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Comment 1 Maik Qualmann 2020-11-29 19:54:49 UTC
With my locale setting, the calendar in the Time Adjust Tool also starts with Monday. This calendar depends on the locale settings. I think this isn't really a problem.

Maik
Comment 2 Mike Morrison 2020-11-29 20:02:01 UTC
Perhaps then the calendar in the Dates view should also follow the same locale setting, for consistency? For me the Sunday-start is standard.
Comment 3 Maik Qualmann 2020-11-29 20:14:08 UTC
The calendar widget in the date view has a fixed week start and this is Monday. It does not support locale settings.

Maik
Comment 4 caulier.gilles 2023-05-13 12:56:46 UTC
Maik,

I think that MonthWidget class can be patched to support locale() and the start of week day especially.

Gilles