diff options
| author | Joni Poikelin <joni.poikelin@qt.io> | 2017-07-14 09:25:54 +0300 |
|---|---|---|
| committer | Joni Poikelin <joni.poikelin@qt.io> | 2018-08-17 14:22:24 +0000 |
| commit | 8193340a44fd835cee029e63a31cfcab8ef6fd55 (patch) | |
| tree | ee480e103d4f89af164ad100addcb5900e03b8b3 /config.tests/unix/mysql/mysql.cpp | |
| parent | ac0a910756f91726e03c0e6a89d213bdb4f48fec (diff) | |
Fix storing of QDateTime timespec for Sqlite
Commit 9e64fc9e1cebf1e11694c4f536881128f5aee288 caused a regression
which stored all QDateTime entries as if they were in localtime,
which causes them to be offset by the amount of local timezone
offset. This is fixed by adding "Z" if the time should be in UTC or
using "+/-hh:mm" if it should use fixed UTC offset or specific
timezone.
Task-number: QTBUG-57138
Change-Id: Ie60905dfb3a517db442b636ca41daf8348753d84
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit 0a5f71c6062d575602ff041fb1b88ec2d8ad92bc)
Diffstat (limited to 'config.tests/unix/mysql/mysql.cpp')
0 files changed, 0 insertions, 0 deletions
