Am Sonntag, 10. April 2016, 09:52:39 schrieb Wolfgang Bauer:
I had a look at the code, and it contains special code to remove the seconds from the time format string. This code has the following comment: It can happen that Qt uses the 'C' locale (it's a fallback) and that locale has always ":ss" part in ShortFormat, so we need to remove it.
Apparently that's not quite working as intended in this case... I haven't analyzed that code further yet, though.
I did look at it closer meanwhile, and the problem is actually that the code does *not* remove the seconds (i.e. the removal does not work), and later on it only adds the seconds to the new format string that's actually used to display the time if they are not in the original format string already. IOW, if the "ShortFormat" of your time locale already contains seconds, they won't be displayed by the digital clock. You can fix this yourself by opening the file /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml and changing line 501from if (main.showSeconds && timeFormatString.indexOf('s') == -1) { to if (main.showSeconds) { I will submit a fix later... Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org