qt5base-lts/tests/auto/corelib/time
Andreas Buhr 91140eb726 Adapt QDate::fromString() to accept negative year numbers
The documentation states that QDate::fromString() accepts negative
year numbers, but it did not. This patch adds support for negative
year numbers to QDate::fromString() and corresponding unit tests.
Furthermore, tests are added for positive signs (+) in date strings.

Fixes: QTBUG-84334
Task-number: QTBUG-84349
Change-Id: I575291e7b8317055d4bb530011d7b10c9cd37ae1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-10-30 17:19:27 +01:00
..
qcalendar CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qdate Adapt QDate::fromString() to accept negative year numbers 2020-10-30 17:19:27 +01:00
qdatetime Adapt QDate::fromString() to accept negative year numbers 2020-10-30 17:19:27 +01:00
qdatetimeparser Adapt QDate::fromString() to accept negative year numbers 2020-10-30 17:19:27 +01:00
qtime Check time-text is long enough while checking for its colons 2020-10-19 17:44:05 +02:00
qtimezone Fix blatant typo in QTimeZone test 2020-10-19 17:44:32 +02:00
CMakeLists.txt Add unit tests for qdatetimeparser 2020-10-23 20:33:18 +02:00
time.pro Add unit tests for qdatetimeparser 2020-10-23 20:33:18 +02:00