qt6-bb10/tests/auto/widgets
Edward Welbourne c00ee2f310 Use UTC when parsing only a date or only a time, not a date-time
This should reduce the amount of fall-out from DST complications.
Also document the assumptions of QDateTimeParser's two fromString()
methods (and fix the punctuation on the QDateTime parameter).
Adjusted some tests to match.

Since only QDateTime-returning methods will show the difference, and
it's at least somewhat odd to be using those on QDateEdit or
QTimeEdit, this should have little impact on API users.

[ChangeLog][QtCore][Behavior Change] QDateEdit and QTimeEdit now
operate in UTC, to avoid spurious complications arising from time-zone
transitions (e.g. DST) causing the implicit other half to combine with
the part being edited to make an invalid result. Returns from their
dateTime() and other methods returning QDateTime (max/min) shall thus
be in UTC where previously they were in local time. QDateTimeEdit
continues using local time. The default can be over-ridden by
setTimeSpec(), as ever.

Change-Id: I44fece004c12342fe536bbe3048217d236fd97b2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-06-23 14:04:08 +02:00
..
dialogs Fix wrong C-style cast, use correct QTest::keyClick overload 2021-04-28 10:15:29 +02:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews BLACKLIST tst_QListView::internalDragDropMove for OpenSUSE leap 2021-06-21 08:20:27 +03:00
kernel QWidgetAction: add test for defaultWidget() being deleted before action 2021-06-22 11:38:32 +02:00
styles Fix recursion crash when calling setStyleSheet with `qproperty-styleSheet` 2021-06-18 05:34:52 +00:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets Use UTC when parsing only a date or only a time, not a date-time 2021-06-23 14:04:08 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00