https://bugs.kde.org/show_bug.cgi?id=390330

--- Comment #4 from Chris Holland <zrenf...@gmail.com> ---
Ooooh, now I get why values of Sunday=0, and Monday=1 work, but Saturday=6 does
not.

The first screenshot show Satuday=6 and Sunday=7 fine since Qt converts
Sunday=0 to 7 anyways.

(Links to Qt code if you're bored, skip otherwise)
https://github.com/qt/qtdeclarative/blob/5.11/src/qml/qml/qqmllocale.cpp#L608
https://github.com/qt/qtbase/blob/5.11/src/corelib/tools/qlocale.cpp#L2517

By default the firstDayOfWeek is Sunday=0 for me (en_CA), but if we change it
to (sv_SE) where firstDayOfWeek is Monday=1, it still shows up fine (with
Sunday=7).

plasmoidviewer -a org.kde.plasma.calendar
LC_TIME="sv_SE.UTF-8" plasmoidviewer -a org.kde.plasma.calendar

I don't think *any* Locale uses a first day of the week other than Sunday or
Monday, which is why this bug is only noticed when we hardcode the QML.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to