From kde-commits Thu Aug 20 08:58:21 2009 From: John Layt Date: Thu, 20 Aug 2009 08:58:21 +0000 To: kde-commits Subject: KDE/kdelibs/kdecore Message-Id: <1250758701.023224.32364.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125075870807952 SVN commit 1013534 by jlayt: Switch implementation of formatDate() and readDate() from KLocale to KCalendarSystem. Currently if you create a new KCalendarSystem instance for a system other than the Global calendar system, the formatDate and readDate methods will return incorrect result. While creating your own locale first works around this, this is not obvious or friendly for app developers. This change solves this by moving the readDate and formatDate implementations into KCalendarSystem and pointing the KLocale methods at these. Refer to http://reviewboard.kde.org/r/1285/ for full details. No reviews received, as maintainer of KCalendarSystem I've made decision to proceed with change. M +247 -5 date/kcalendarsystem.cpp M +16 -2 date/kcalendarsystem.h M +1 -0 date/kcalendarsystemhebrew.cpp M +52 -271 localization/klocale.cpp http://websvn.kde.org/?view=rev&revision=1013534