qt5base-lts/tests/auto
Andrei Golubev 7605451604 Handle specified time-spec in date-time parsing
When a date-time was parsed from a string, the result was equal (as a
date-time) to the correct value, but had (at least in some cases) the
wrong spec, where it should have had a spec reflecting the zone
specifier parsed.

The time-spec imposed for the benefit of QDateTimeEdit is now moved
from QDateTimeParser to QDateTimeEditPrivate, which takes over
responsibility for imposing it. QDateTimeParser assumes Qt::LocalTime
in member functions (where applicable) and uses the time-spec parsed
from the string when constructing the date-time.

QDateTime::fromString() and QLocale::toDateTime() are updated to
use the full QDateTime returned by QDateTimeParser.

Fixes: QTBUG-83075
Done-With: Edward Welbourne <edward.welbourne@qt.io>
Change-Id: I8b79add2c7fc13a200e1252d48dbfa70b36757bf
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-04-22 14:14:30 +03:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Disable warnings for the deprecated QLinkedList 2020-03-06 09:50:35 +01:00
corelib Handle specified time-spec in date-time parsing 2020-04-22 14:14:30 +03:00
dbus Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
gui Markdown writer: omit space after opening code block fence 2020-04-20 21:08:32 +02:00
guiapplauncher
installed_cmake
network tst_PlatformSocketEngine: Removee SOURCES += of QtNetwork code 2020-04-09 09:31:04 -03:00
opengl Add default arguments to QPainterPath methods using transform 2020-03-06 21:09:48 +01:00
other Raster painting: fix dashing for separate lines 2020-03-27 12:31:01 +01:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql QMySQL: return QVariant::ByteArray for POINT column 2020-03-15 23:00:41 +01:00
testlib Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
tools Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
widgets macOS: Remove a bunch of dead (forward) declarations 2020-04-15 17:33:06 +02:00
xml Merge remote-tracking branch 'origin/5.14' into 5.15 2020-03-11 11:27:49 +01:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00