summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine.cpp
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-09-09 13:29:10 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2020-09-11 19:34:25 +0200
commitac7e518a6465cae67c53604672c73d269bb07a9e (patch)
tree48fe34220a98064eb82141e713ccea8e8491dbef /src/gui/painting/qpaintengine.cpp
parent1316a0aef287e47d63aab247751842a901d8f786 (diff)
[QtCore] Fix QDateTime unit test: time zone of system was used
Test data for QDateTime unit tests was constructed in system's local time, which made unit test outcome dependent on the time zone of the system running the tests. This led to failing unit tests on systems with libc6 version 2.31 or newer. A QDateTime in a timezone, which has daylight saving time, was created and then used in Hawaii's time zone,which has no daylight saving time. Newer glibc checks this and returns errors. This patch changes the behavior to create the test data in a specified time zone setting. Task-number: QTBUG-80441 Change-Id: I0330b647fa011be99141dde09001ff2d58bd3a5f Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/painting/qpaintengine.cpp')
0 files changed, 0 insertions, 0 deletions