Review Request 127623: [digital-clock] Fix display of seconds with certain locales
Wolfgang Bauer
wbauer at tmo.at
Thu Apr 14 13:11:56 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127623/
-----------------------------------------------------------
(Updated April 14, 2016, 3:11 nachm.)
Review request for Plasma, Kai Uwe Broulik and Martin Klapetek.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160414/dac55f4b/attachment.html>
More information about the Plasma-devel
mailing list