<!DOCTYPE html><html><head><title></title></head><body><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;">OS: Linux Mint 22</span></div><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;">digiKam: 8.6.0 Appimage</span></div><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;"></span><span class="size" style="font-size:126.56%;"></span><br></div><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;">I have never used the calendar under the left Dates tab, but see that my week also starts on Monday. My Date/Time settings in Linux Mint for First Day of Week was set at Use Locale Default (Eastern U.S.) for the first day of the week. I then changed the First Day of Week to Sunday, restarted digiKam and the first day of the week didn't change; still starts on Monday. No matter, just some observation.</span></div><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;"></span><br></div><div style="font-family:Arial;"><span class="size" style="font-size:126.56%;">Jay</span></div><div style="font-family:Arial;"><br></div><div>On Wed, Apr 30, 2025, at 08:58, Steven Robbins wrote:</div><blockquote type="cite" id="qt" style=""><div style="font-family:Arial;">On Wednesday, April 30, 2025 1:01:58 a.m. Central Daylight Saving Time Gilles </div><div style="font-family:Arial;">Caulier wrote:</div><div style="font-family:Arial;">> Hi Steve,</div><div style="font-family:Arial;">> </div><div style="font-family:Arial;">> There are no settings in digiKam for that. We use the Qt calendar API</div><div style="font-family:Arial;">> in digiKam which is relevant to the language/region configuration from</div><div style="font-family:Arial;">> the desktop where you can tune this kind of parameter.</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Thanks, GIlles!  That is helpful.  So the Qt calendar widget pays attention to </div><div style="font-family:Arial;">the LC_TIME variable.  Chatting to gpt produced a simple python test program </div><div style="font-family:Arial;">(below) where I can verify that it adheres to the locale by running it as </div><div style="font-family:Arial;">follows.</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">LC_TIME=en_CA.UTF-8 python3 qt-calendar-example.py </div><div style="font-family:Arial;">- shows Sunday as first day of the week</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">LC_TIME=fr_FR.UTF-8 python3 qt-calendar-example.py </div><div style="font-family:Arial;">- shows lundi as the first day of the week</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">So far so good.  My locale is en_CA.UTF-8.  Unfortunately, even when forcing </div><div style="font-family:Arial;">the issue by explicitly setting the locale when running digikam:</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">LC_TIME=en_CA.UTF-8  digikam</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">the calendar still shows Monday as first day of the week.  Something on my </div><div style="font-family:Arial;">system must be overriding my choice.  I'll keep digging.</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">-Steve</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Python calendar test program:</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">import sys</div><div style="font-family:Arial;">from PyQt6.QtWidgets import QApplication, QCalendarWidget</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">app = QApplication(sys.argv)</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">calendar = QCalendarWidget()</div><div style="font-family:Arial;">calendar.setWindowTitle("PyQt6 Calendar Locale Test")</div><div style="font-family:Arial;">calendar.resize(400, 300)</div><div style="font-family:Arial;">calendar.show()</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">sys.exit(app.exec())</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">> </div><div style="font-family:Arial;">> Best regards</div><div style="font-family:Arial;">> </div><div style="font-family:Arial;">> Gilles Caulier</div><div style="font-family:Arial;">> </div><div style="font-family:Arial;">> Le lun. 28 avr. 2025 à 00:36, Steven Robbins <<a href="mailto:steve@sumost.ca">steve@sumost.ca</a>> a écrit :</div><div style="font-family:Arial;">> > When I select "Dates" for the left sidebar, a handy calendar shows the</div><div style="font-family:Arial;">> > selected month at the bottom.  In my case, it shows weeks starting on</div><div style="font-family:Arial;">> > Monday which is not my usual habit so I get confused nearly every time.</div><div style="font-family:Arial;">> > </div><div style="font-family:Arial;">> > Is there a setting (as there is for korganizer) that can change this to</div><div style="font-family:Arial;">> > Sunday?</div><div style="font-family:Arial;">> > </div><div style="font-family:Arial;">> > Thanks,</div><div style="font-family:Arial;">> > -Steve</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div><br></div><div><b>Attachments:</b></div><ul><li>signature.asc</li></ul></blockquote><div style="font-family:Arial;"><br></div></body></html>