KLocale to use nl_langinfo?

Barış Metin baris at pardus.org.tr
Tue Aug 15 13:36:34 BST 2006


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);

regards,
-- 
Barış Metin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060815/23ed5bde/attachment.sig>


More information about the kde-core-devel mailing list