path: root/src/corelib/mimetypes/qmimedatabase.cpp
diff options
authorEdward Welbourne <>2018-08-17 11:19:32 +0200
committerTony Sarajärvi <>2018-08-20 06:04:25 +0000
commitfe9a37ac4865f397533f36d1216dce6ebbacc80b (patch)
treec5be4793d348cd2d619933ce6a869626ff311c74 /src/corelib/mimetypes/qmimedatabase.cpp
parent346c15102b14c58b8aaeed2c1586cd3100200e28 (diff)
QTimeZonePrivate::dataForLocalTime(): cope with negative DST offsets
The tz database's latest update now records the cases where summer time is deemed standard and winter-time is deemed DST. (This doesn't change what the offsets are, just how they're described.) The resulting negative DST offsets mess up the algorithm for converting local time to UTC, causing tst_QTimeZone::transitionEachZone() to fail for Europe/Dublin in the hour before its transition; so refine the algorithm to cope with the new case. Task-number: QTBUG-69980 Change-Id: I24003872fffb03b2903161859158d0ce998b3073 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/corelib/mimetypes/qmimedatabase.cpp')
0 files changed, 0 insertions, 0 deletions