<div dir="ltr"><div>Steven I'm not super knowledgeable here but I'll also share my observations:</div><div><br></div><div>My digikam calendar shows Monday first. I have my $LC_TIME set to en_DK (via a symlink from en_SE, which I had set up to fix my system dates to YYYY-MM-DD per <a href="https://pig-monkey.com/2024/02/things-i-do-for-time/">blog post</a>). That locale's config file has a line "first_weekday 2" that I do not have in my local en_CA file. I don't know if that's related, maybe digikam/Qt looks for that line but it's not there.</div><div><br></div><div>$ grep first_weekday /usr/share/i18n/locales/${LC_TIME%.*} || echo Not found<br>first_weekday 2<br></div><div><br></div><div>$ grep first_weekday /usr/share/i18n/locales/en_CA || echo Not found<br>Not found</div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>—</div><div>Charlie Gorichanaz</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 30, 2025 at 8:14 AM Jay <<a href="mailto:jay@speedpost.net" target="_blank">jay@speedpost.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div style="font-family:Arial"><span style="font-size:126.56%">OS: Linux Mint 22</span></div><div style="font-family:Arial"><span style="font-size:126.56%">digiKam: 8.6.0 Appimage</span></div><div style="font-family:Arial"><span style="font-size:126.56%"></span><span style="font-size:126.56%"></span><br></div><div style="font-family:Arial"><span 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 style="font-size:126.56%"></span><br></div><div style="font-family:Arial"><span 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="m_-4894745446344793028m_-2354321989433299364qt"><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" target="_blank">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></div></blockquote></div>