summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-04-28 15:08:50 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-04-29 14:13:23 +0200
commitae5d40e67407776d57ff06a6717e3d4bbefeaa66 (patch)
tree77dcec9350738b25e2af41038ed66e228fb18776 /tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp
parent8ec07b4afc93160e15c1aaa746fd027f2d37f70e (diff)
Handle invalid system zone case when falling back from time_t functions
Ammends commit 530e0bd469e6859269c2d1a792b8ce819fbff389, in which I added a QTimeZone-based fall-back for handling of conversions between local time and UTC when outside the range supported by time_t-based functions. That replaced prior kludges, when feature timezone is enabled; however, even with feature timezone, it's possible for the system zone to be invalid. So retain the old kludges also as fall-back for when the system zone is invalid, as well as when we have no timezones to fall back on. Change-Id: Ie2b8af7f1a87d7b0e39cc5ac0c04b04d574f84b5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp')
0 files changed, 0 insertions, 0 deletions