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) |
||
|---|---|---|
| .. | ||
| qcalendar | ||
| qdate | ||
| qdatetime | ||
| qdatetimeparser | ||
| qtime | ||
| qtimezone | ||
| CMakeLists.txt | ||