Version: (using KDE 4.0.4) Installed from: SuSE RPMs OS: Linux The digital clock showing PH : MM : pm when configured without seconds
What language are you using? Smells like a translation problem...
can you provide a screenshot as well? thanks.
Created attachment 25587 [details] The digital clock
I'm using language from default installation. I changed the time format of my desktop with PM : MM : SS AMPM and the digital clock configured without seconds.
I still got the same bug with KDE 4.0.84, btw ..
1) Provide more information please: what is the language default installation? 2) "I still got the same bug with KDE 4.0.84" is it also Suse rpms? 3) If you start with a new .kde4 or a new user, what are the steps to reproduce? We (several of us) worked on Digital Clock and system settings time format to fix bugs last week-end and we could not reproduce that one so please be as precise as possible in helping here.
OK I eventually got it with the help of Rabauke, you actually edit the TimeFormat field in System Settings Time & Dates to insert spaces. I never would have done that myself so it did not cross my mind one would edit that format. Anyway, now I can reproduce and I see the bug. The bug will be taken care of!
Annma sent me a unit test, I'll have a look.
SVN commit 827443 by dfaure: Fix formatTime() for the case where we don't want seconds, and the format string has spaces before and after the separator for the seconds. Thanks annma for the unit-test, unit tests make bugs fixable :) BUG: 164813 M +10 -5 localization/klocale.cpp M +4 -0 tests/klocaletest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=827443