Bug 156360 - clock applet ignores system date format
Summary: clock applet ignores system date format
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 156362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-22 06:00 UTC by Peter Lunicks
Modified: 2008-06-28 14:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lunicks 2008-01-22 06:00:25 UTC
Version:            (using KDE 4.0.0)
Installed from:    Compiled From Sources
Compiler:          gcc-4.0.3 
OS:                Linux

The clock applet in KDE 4.0.0 ignores the KDE system-wide date format settings.
KDE 3's clock applet used the date format settings and was more usable.
The clock always uses "21 Jan" or "21 Jan 2008" (depending on whether 'show year' is selected.
It should either 1) Use KDE system-wide date format settings
or even better, 2) have a configurable option to a) use KDE system settings or b) a user-specified format.

Not to mention the fact that the clock *looked* better in KDE 3...
Comment 1 Pino Toscano 2008-01-22 10:25:02 UTC
There is no kicker and kdesktop in KDE 4, but plasma.
Comment 2 Alex Merry 2008-01-22 11:58:38 UTC
This is fixed in 4.1 and 4.0.1.
Comment 3 Peter Lunicks 2008-01-25 05:25:30 UTC
Yeah Pino, that's the main problem :(
kicker was the best panel ever designed for any operating system/desktop environment to date. It had become very mature, was extremely configurable, and very convenient and easy to use. It is a horrible shame that it has been dropped from KDE.

BTW: Did I use the word 'kicker' in my original post? I don't see it.

Alex: glad to hear that, thanks.

Comment 4 Dan Meltzer 2008-01-25 06:21:56 UTC
I don't believe this is fixed, we fixed the time, but the date couldn't be fixed for some reason? Reopening.
Comment 5 S. Burmeister 2008-01-25 09:16:53 UTC
I used KGlobal::locale()->formatDate() before replacing it by the digital-clock's way of formating the date, could that help?
Comment 6 Alex Merry 2008-01-25 23:18:31 UTC
*** Bug 156362 has been marked as a duplicate of this bug. ***
Comment 7 James Richard Tyrer 2008-02-05 18:51:54 UTC
In TRUNK

I don't see AM or PM when time format is: "PH:MM:SS AMPM"
Comment 8 James Richard Tyrer 2008-02-09 15:15:27 UTC
This appears to have been fixed.
Comment 9 James Richard Tyrer 2008-02-09 15:43:33 UTC
I note that the weekday is always shown in the short format even if the system setting is the long format.  KDE3 always uses the long format even if the system setting is for the short format.

Should we consider this a bug?
Comment 10 James Richard Tyrer 2008-02-09 16:31:37 UTC
My mistake.  It still says 9 Feb with the Local set to US.
Comment 11 Albert Astals Cid 2008-06-27 17:21:57 UTC
No, it has not been fixed, it uses QDate which uses the system locale, not the KDE locale, it needs to use KGlobal::locale()->formatDate()
Comment 12 Albert Astals Cid 2008-06-28 14:57:41 UTC
SVN commit 825509 by aacid:

Make KLocale do the translations and not QDate, that way we get translations using KDE locale, not the system locale

BUGS: 156360


 M  +9 -4      clock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=825509