KLocale to use nl_langinfo?
Stephan Kulow
coolo at kde.org
Wed Aug 16 09:07:40 BST 2006
Am Dienstag, 15. August 2006 14:36 schrieb Barış Metin:
> 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?
>
> 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);
I guess it's not portable? But with a small little configure check this should
be no problem. Would you prepare a patch?
Greetings, Stephan
More information about the kde-core-devel
mailing list