Bug 233070 - US locale file has incorrect long date format
Summary: US locale file has incorrect long date format
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: klocale (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: John Layt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 15:06 UTC by jmaldrich
Modified: 2010-08-07 20:50 UTC (History)
2 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 jmaldrich 2010-04-02 15:06:59 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    Fedora RPMs

Please add MMDDYY as an *optional* date format for KDE. I have tried to find it, but the ONLY option is the European date format with the day first. Here in the USA we prefer to put the MONTH first and KDE does not give us that option that I have found. If there is an option, please advise how to find it.
Comment 1 temlakos 2010-04-02 16:22:29 UTC
I ask for this, too.
Comment 2 John Layt 2010-04-02 23:28:24 UTC
Umm, this is fully supported and KDE defaults to US format, and uses it if the Region is set to US.  Even if the Region is set to somewhere else, you can still override it with your preferred format.  In System Settings go into "Region & Language" then the "Time & Dates" tab where you can edit the Date and Short Date formats to anything you like.  To find out the valid format codes, in the Help menu choose "Whats This" and click on the format edit box.
Comment 3 jmaldrich 2010-04-03 15:39:22 UTC
Sure you can manually enter it, but why not a drop-down like everything else? Why should we HAVE to edit it to get the U.S. date format? All I'm asking for is make a drop-down option for the U.S. date format.
Comment 4 jmaldrich 2010-04-03 19:35:13 UTC
On Fri April 2 2010, John Layt wrote:
> https://bugs.kde.org/show_bug.cgi?id=233070
> 
> 
> John Layt <john@layt.net> changed:
> 
>            What    |Removed                     |Added
> ------------------------------------------------------------------------
> ---- Status|UNCONFIRMED                 |RESOLVED
>                  CC|                            |john@layt.net
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #2 from John Layt <john layt net>  2010-04-02 23:28:24 ---
> Umm, this is fully supported and KDE defaults to US format, and uses it
> if the Region is set to US.  Even if the Region is set to somewhere
> else, you can still override it with your preferred format.  In System
> Settings go into "Region & Language" then the "Time & Dates" tab where
> you can edit the Date and Short Date formats to anything you like.  To
> find out the valid format codes, in the Help menu choose "Whats This"
> and click on the format edit box.
>
Why do you feel that it should be required to edit the date settings 
instead of having a drop-down box for the US date settings?
Comment 5 John Layt 2010-04-03 20:16:45 UTC
So you just want the dropdown examples to have a US format option in it?  Which is very different from the original statement suggesting we don't support changing it at all.  

But you shouldn't even have to set it as setting the Region to USA sets the date formats to the US formats, or at least they should.  The short date format does correctly default to "mm/dd/yyyy", but I have just noticed that the long date format is not using the correct default of "weekday, monthname day, year", and appears to have _never_ done so since KDE introduced date localisation.  I'm amazed no-one has ever complained before!

So, there's actually two issues:

1) The US locale file is missing the correct long date format, so it uses the KDE default instead.  We need to add the following to the US locale file:

      DateFormat=%A, %B %e, %Y

2) kcm_language has a limited default set of options it displays in the combo drop-down which pays no attention to the current locale.  Future plans for the kcm would make localising the option list via the locale file a short-lived exercise, so for now we should review the set of listed options to include a wider set of options.  This just underlines how poor the usability of the current GUI is and strengthens the case for a redesign.
Comment 6 John Layt 2010-04-03 22:11:08 UTC
SVN commit 1110612 by jlayt:

Add default date format for USA, which has apparently never been set before.
Amazing no-one has never spotted this before.

Trunk commit, to be backported to 4.4.

CCBUG: 233070




 M  +1 -0      entry.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1110612
Comment 7 John Layt 2010-04-03 22:14:08 UTC
SVN commit 1110613 by jlayt:

Add default date format for USA, which has apparently never been set before.  
Amazing no-one has never spotted this before.

Backported from trunk commit 1110612..

CCBUG: 233070



 M  +1 -0      entry.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1110613
Comment 8 John Layt 2010-08-07 20:50:23 UTC
Oh, yeah, the combo also lists more options in SC 4.5, basically the default value for the currently selected locale, the users current setting if different, the ISO formats, and a couple of language appropriate options.  In SC 4.6 I'm re-writing the kcm and each country settings file will have a list of several format options to choose from.