From 8256c680c2b0323d47b707159f4f53982999ed19 Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Tue, 27 Oct 2015 02:24:00 +0100 Subject: Do not use timezone at all for Q_OS_INTEGRITY. Change-Id: I3674b86b65a6ec47c89cc4f49e00361e9b87a7c3 Reviewed-by: Thiago Macieira --- src/corelib/tools/qdatetime.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index e794da8326..221cdfcdb5 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -2178,6 +2178,8 @@ static int qt_timezone() // - It also takes DST into account, so we need to adjust it to always // get the Standard Time offset. return -t.tm_gmtoff + (t.tm_isdst ? SECS_PER_HOUR : 0L); +#elif defined(Q_OS_INTEGRITY) + return 0; #else return timezone; #endif // Q_OS_WIN -- cgit v1.2.3