diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2013-04-22 14:28:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-08 10:00:29 +0200 |
commit | 83315ce8b2b5c314fef2382f5ef5344de59fe3e3 (patch) | |
tree | ed01fce950309c32d5f7bed6b80199737c1fc3dc /dist/changes-5.1.0 | |
parent | 7e7d40eeb77ee3b4029a8f90c14df6373f082692 (diff) | |
download | qtbase-83315ce8b2b5c314fef2382f5ef5344de59fe3e3.tar.gz |
Revert QDateTime serialisation to pre-Qt 5 behaviour.
In Qt 5, I managed to break the guarantee that a deserialised local
datetime is the same time of day (potentially different UTC time),
regardless of which timezone it was serialised in. This happened after
I fixed QTBUG-4057 with If650e7960dca7b6ab44b8233410a6369c41df73a,
which serialised datetimes as UTC.
This patch reverts QDateTime serialisation to pre-Qt 5 behaviour to
restore the guarantee and consequently re-opens QTBUG-4057.
Change-Id: Iea877f7ed886f530b928067789b53534e89fe8cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-5.1.0')
-rw-r--r-- | dist/changes-5.1.0 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0 index d89914ce1a..cb96c2debe 100644 --- a/dist/changes-5.1.0 +++ b/dist/changes-5.1.0 @@ -41,6 +41,14 @@ Third party components * [QTBUG-8836] QAbstractItemView now allows manual deselect in SingleSelection mode (with control modifier) +- QtCore + + * The serialization behavior for QDateTime has reverted to pre-Qt 5, + due to the issue mentioned in section 4 here: + http://lists.qt-project.org/pipermail/development/2013-March/010559.html + + This means that the QDataStream version will be 14 with Qt 5.1. + **************************************************************************** * Library * **************************************************************************** |