diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-26 17:09:52 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-02-03 14:45:13 +0100 |
| commit | 9d1a3582f33a0820a4f0f5b7fe84a22a8c8d967b (patch) | |
| tree | 1f3739ca327f86f623f6a71693eb078c7c5a7fda /src/plugins/platforms/wasm/qwasmintegration.cpp | |
| parent | 78c5ca4c85aee9f4eed07b4144943d18985c5f49 (diff) | |
Call _tzset() before localtime_s() in qtLocalTime()
Experiment reveals that we needs to, despite hints in localtime_s()'s
docs that seem to indicate it shouldn't be needed.
In the process document that POSIX mandates that plain localtime()
behaves as if it did call tzset(), since its branch of the #if-ery is
now the odd one out.
Pick-to: 6.5
Fixes: QTBUG-109974
Change-Id: Ic57753f246f14e183d2a56f131e8bed7347d2e20
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions
