Bug 112963

Summary: Wrong date format in timezone configuration
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Takashi Iwai <tiwai>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED WONTFIX QA Contact: Klaus Kämpf <kkaempf>
Severity: Minor    
Priority: P5 - None CC: jsuchome
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Takashi Iwai 2005-08-25 13:05:47 UTC
In the timezone configuration during the installation, one can adjust the date
and the clock.
The date format shown there is "DD/MM/YYYY", which looks confusing.  In American
way, it's "MM/DD".

It's with the japanese language set-up, if it matters.
Comment 1 Jiří Suchomel 2005-08-26 08:23:06 UTC
The format is always the same now (so language doesn't mattter). Stefan changed
this when proposing new timezone dialog.
Comment 2 Jiří Suchomel 2005-08-26 08:43:40 UTC
Well, it is in my module, so I should change it if necessary; but I would like
to know Stefan's explanation.
Comment 3 Stefan Hundhammer 2005-08-26 11:12:40 UTC
I changed the layout slightly, but not any date format. 
Comment 4 Jiří Suchomel 2005-08-26 11:19:13 UTC
Yes, you didn't.
But with your layout, it is not possible to use locale format.

I assume the new layout has higher priority -> WONTFIX
Comment 5 Jiří Suchomel 2005-08-26 11:56:08 UTC
However, we could discuss it again after 10.0 to find better solution.
Comment 6 Takashi Iwai 2005-08-26 12:25:00 UTC
But why not use ISO 8601 standard format (instead of european local way)?
Comment 7 Jiří Suchomel 2005-08-26 12:37:42 UTC
oh, wait: you are talking about "Change System Date and Time" popup?
Comment 8 Jiří Suchomel 2005-08-26 12:50:06 UTC
I thought you mean the time displayed in the dialog with the timezones; the
popup for setting the time is handled differently.

There are `Date and `Time widgets in this popup and they just handle the format
their own way. Stefan?
Comment 9 Stefan Hundhammer 2005-08-26 12:57:43 UTC
I know very little about `Date() and `Time() - Anas wrote them once to 
demonstrate how to add widgets to the UI. 
 
They seem to map directly to QDateEdit and QTimeEdit (that's also why they are 
special widgets that are available only in the Qt UI): 
 
http://doc.trolltech.com/3.3/qtimeedit.html 
http://doc.trolltech.com/3.3/qdateedit.html 
 
I'd say those classes should honor the current locale - which we do set. 
Comment 10 Takashi Iwai 2005-08-26 13:05:07 UTC
Hmm, it means that the non-default QDateEdit::DMY is set explicitly in yast?
(also the separator is set to slash?  The doc tells that the default is '-')