qt6-bb10/tests/auto/corelib
Edward Welbourne 38a72af4fd Fix handling of Sunday in POSIX time-zone rules
Dating from the origins of our support for the zoneinfo file format,
the mapping of POSIX's day-numbering (0 = Sunday through 6 = Saturday,
see [*]) to Qt's (1 = Monday through 7 = Sunday) was done by mapping 0
to 1, when it should have been 7.

[*] http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

Corrected a QTimeZone test that trusted the results it got without
checking which day of the week those were: they were all Mondays.
Verified that the corrected dates are in fact Sundays.
Checked the zone abbreviations, too.

Fixes: QTBUG-90553
Pick-to: 6.0 5.15
Change-Id: I84b4b14f9892ff687918cd3c42c7c9807e45313c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
2021-02-01 16:28:26 +01:00
..
animation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
global Remove the QT_CMAKE_BUILD preprocessor define 2021-01-22 19:22:15 +01:00
io tests: remove unnecessary skips for qemu 2021-01-28 09:27:06 +02:00
itemmodels Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
kernel Remove QObjectCompatProperty::operator= for safer usage 2021-01-29 16:06:19 +01:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization QJsonObject::take: add missing detach() call 2021-01-27 05:11:39 +00:00
text QRegularExpression: add move constructor 2021-01-26 17:20:01 +01:00
thread Revert "Port QThreadPool to the new property system" 2021-01-29 10:55:42 +00:00
time Fix handling of Sunday in POSIX time-zone rules 2021-02-01 16:28:26 +01:00
tools Extend alignment of QArrayData to std::max_align_t in allocation 2021-01-26 08:01:27 +00:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00