qt6-bb10/tests/auto/corelib/time
Edward Welbourne 4408d077ac Address problems with date-time parsing near bounds
Document the limited range of datetimes that can be parsed from
strings and the (awkward) consequence of the range bounds being
specified in local time.

Add tests for UTC hitting those bounds and QEXPECT_FAIL() the ones
that (as the new docs say they may) fail. Technically the fact that
the UTC:min one *doesn't* fail is evidence of a bug in the existing
date-time parser. Its replacement should support unbounded parsing.

Pick to 6.8 required removing a QEXPECT_FAIL() specific (on MS) to the
std::chrono::tzdb backend, which isn't present before 6.9.

Fixes: QTBUG-129287
Task-number: QTBUG-77948
Pick-to: 6.5
Change-Id: Ic90558f1a06a62f7d0a947e37802370d1ab4e373
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 3e25203d4d5ba428309e972367dbdf99c4e70327)
2024-10-22 18:53:18 +02:00
..
qcalendar Change license for tests files 2024-02-04 09:56:42 +01:00
qdate Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qdatetime Address problems with date-time parsing near bounds 2024-10-22 18:53:18 +02:00
qdatetimeparser Change license for tests files 2024-02-04 09:56:42 +01:00
qtime Change license for tests files 2024-02-04 09:56:42 +01:00
qtimezone Rename new QTZ::aliasMatches to hasAlternativeName 2024-08-27 16:38:19 +00:00
CMakeLists.txt Improve test compilation setup with QtLite configuration 2024-05-10 09:04:44 +00:00