From e4528eb77dfcc81bc6058279855cc1f3d0eea8ac Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 17 Nov 2022 20:06:01 +0100 Subject: [PATCH] QTimeZone doc: mention the ICU escape from MS's bad APIs Change-Id: Iccf2b6c05a1f3aaae600bb06fe8d62c20a94ee86 Reviewed-by: Thiago Macieira --- src/corelib/time/qtimezone.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/corelib/time/qtimezone.cpp b/src/corelib/time/qtimezone.cpp index c7838953ad9..1a9b208bfe3 100644 --- a/src/corelib/time/qtimezone.cpp +++ b/src/corelib/time/qtimezone.cpp @@ -151,6 +151,10 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz); Exchange EWS ID as well, but is different to the Time Zone Name (TZID) and COD code used by MS Exchange in versions before 2007. + \note When Qt is built with the ICU library, it is used in preference to the + Windows system APIs, bypassing all problems with those APIs using different + names. + \section2 System Time Zone The method systemTimeZoneId() returns the current system IANA time zone