diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-01-09 13:45:03 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-01-24 19:40:45 +0000 |
commit | bd78f57463c381203099d7939c9d37cba0341713 (patch) | |
tree | 59c5fd7e16d84fca068573c1edcf5c20af6fb246 /src/network/access/qnetworkaccesscache_p.h | |
parent | c1cece8e546a138609c974be94588ba4e72c6fb1 (diff) |
Apple: always use the system time zone instead of the default time zone
This corrects an issue converting dates and times to strings which would
use the "default" time zone (CFTimeZoneCopyDefault) in contrast to the
rest of Qt which uses the system time zone in such contexts.
[ChangeLog][QtCore][QLocale] Qt functions now always use the system
time zone on Apple platforms, the same that low-level C APIs like
localtime() does. Previously, converting dates and times to strings
would use the "default" time zone (which is almost always the same as
the "system" time zone but could be changed with the Apple API).
Change-Id: I2942c3c1c8aa01a0130f1b7280371a72bdb01b1c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/access/qnetworkaccesscache_p.h')
0 files changed, 0 insertions, 0 deletions