Commit 83315ce8 authored by Mitch Curtis's avatar Mitch Curtis Committed by The Qt Project
Browse files

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: default avatarThiago Macieira <thiago.macieira@intel.com>
parent 7e7d40ee
Showing with 35 additions and 8 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment