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

List:       kde-core-devel
Subject:    2 date formats in KLocale
From:       Andre Charbonneau <yoamwmvs () umail ! corel ! com>
Date:       2000-11-22 17:27:20
[Download RAW message or body]

Hi,

I was looking at the KLocale class and I'm wondering why it was decided to 
use 2 seperate date formats: a short date format and a long date format.  
I'm asking this because I'm currently working on a regional settings 
control panel that will work both at the system level (POSIX locale files) 
and at the KDE level (using KDE's locale config files).  Since there is 
only one real date format in the POSIX locale files it is difficult to 
syncronize the system-level settings with the KDE settings.  At the system 
level, there is no such thing as a "short" date or a "long" date.  

Why was it decided to have 2 seperate date formats?

Would it be a good idea to adopt the single date approach like it was 
always done at the system level?  
If an application need a date formatted another way than specified by the 
locale, then the strftime C call could be used to do so.

Any feedback would be appreciated.

Thanks,
-- 
Andre Charbonneau
GNU Linux Software developer  (Globalization)
Corel Corporation
-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "postmaster@umail.corel.com".  
The poster's email address is "andrec@corel.com".

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

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