[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 162368] Digital clock widget cannot display date in custom format
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2009-06-10 2:47:13
Message-ID: 20090610024713.C7056165F5 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=162368





--- Comment #15 from James Richard Tyrer <tyrerj acm org>  2009-06-10 04:47:10 ---
Re: Comment #14

Thanks.  Bugzilla's search didn't find this when I filed 195837.  This leads to
the obvious suggestion that the title of this bug could be improved to make it
easier to find.

The issue isn't really about a "custom" format.  In KDE-3.5, the Clock uses the
(time and) date string set in the Locale KCM.  In 3.5 it is the "Short Date
Format" string is used.  OTOH, the KDE-4.x.y Digital Clock Displays the Month
with a word which would correspond to the "Date Format" string.

So, the first issue is that the title of bug 195837

Digital Clock date does not conform to SS locale setting:

SystemSettings Locale Date Format set to:

WEEKDAY MONTH dD YYYY

and the Digital Clock says:

Tue, 9 Jun 2009

With the above string, the Digital Clock should say:

TUESDAY JUNE 9 2009

Since using the locale string is the correct way to to this, it appears that
this is a bug and not a wish list item.

The most egregious problem being that order of the month and date is not
controlled by the locale string.  With a US locale, it is:

9 Jun

when it clearly should be:

Jun 9

This certainly indicates that there is a bug.

While it is OK for the Digital Clock Settings to modify the string set in
SystemSettings -- to remove WEEKDAY or YYYY -- it does need to start with
the locale string set in SystemSettings.

After these issues (which are bugs) are resolved, there are feature request
items which we might want to address:

I would rather have the "Short Date Format" for the Digital Clock.  Perhaps
this should be an option.  In that case, the "Show year" option should only
apply to the "Date Format" while the "Show day of the week" option would also
apply to the "Short Date Format" but with a different effect.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic