summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2012-01-09 20:50:00 +0000
committerQt by Nokia <qt-info@nokia.com>2012-02-05 00:26:07 +0100
commitfc24979e43162b27b7a482fd4963ae615f5ce54f (patch)
treef216b4a995e674ec02982f91ced977f60d5cbdab /dist
parent8327fa7c11f6c84ccc66be4365ee282a76288788 (diff)
QDateTime: Remove Julian Calendar
Convert QDate to only use Gregorian calendar and not Julian calendar before 1582. In future the Julian can be used via proper calendar classes. Change-Id: I547a3550332057a0ab1be616706630b6afaceffc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.0.04
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index ed5ddc240d..e5f57732ba 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -241,6 +241,10 @@ QtCore
in Qt 4 they returned a null QString or a null QStringRef.
* QDate, QTime, and QDateTime have undergone important behavioural changes:
+ * QDate only implements the Gregorian calendar, the switch to the Julian
+ calendar before 1582 has been removed. This means all QDate methods will
+ return different results for dates prior to 15 October 1582, and there is
+ no longer a gap between 4 October 1582 and 15 October 1582.
* QDate::setYMD() is deprecated, use QDate::setDate() instead
* Most methods now apply strict validity checks and will return appropriate
and consistent values when invalid. For example, QDate::year() will return