KLocale to use nl_langinfo?
Nicolas Goutte
nicolasg at snafu.de
Wed Aug 16 15:57:57 BST 2006
On Tuesday 15 August 2006 14:36, Barış Metin wrote:
> Hello,
>
> With a bug report I recognized that the default date format in KDE is
> wrong. Is there a particular reason for KLocale not to use nl_langinfo and
> hard-code default values?
The values depend on the country setting. KDE has chosen to use its own
country settings. If it is not correct for country in KDE please fix it (or
ask how to fix it).
>
> From kdecore/klocale.cpp:
> readConfigEntry("TimeFormat", "%H:%M:%S", m_timeFormat);
> readConfigEntry("DateFormat", "%A %d %B %Y", m_dateFormat);
> readConfigEntry("DateFormatShort", "%Y-%m-%d", m_dateFormatShort);
What would be wrong as default? The first and last one are the ISO date/time
format.
>
> regards,
Have a nice day!
More information about the kde-core-devel
mailing list