-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127623/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-workspace


Description
-------

Currently, "Show Seconds" has no effect with certain locales (C e.g.) that 
already contain the seconds in the ShortFormat.
The reason is that the seconds are only added to the format string that's used 
to display the time if they are not part of timeFormatString already (which is 
not used at all for the display).

This patch fixes that check and adds them only depending on the showSeconds 
config option.


Diffs
-----

  applets/digital-clock/package/contents/ui/DigitalClock.qml 95bb071 

Diff: https://git.reviewboard.kde.org/r/127623/diff/


Testing
-------

Switch locale to C, seconds are shown now or not, depending on the applet's 
configuration, they were not shown before even when enabled.
It still behaves as expected with my standard locale (de_AT).


Thanks,

Wolfgang Bauer

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to