qt5base-lts/tests/auto/corelib/time
Edward Welbourne 7943480f0f Fix QDateTimeParser's handling of 't' format to match serialization
This amends commit 68f19fb630 to only
consume one 't' from the format string, to match qlocale.cpp's
serialization of time-zone specifiers, which only consumes one, so
will repeat the time-zone specifier as many times as unquoted t
appears in the format. It's hard to imagine why anyone would want this
behavior, but it's what our serialization has always done and parsing
should match serialization.

Add test-cases for double time-zone specifier.
Delete a lie in the process.

Task-number: QTBUG-95966
Change-Id: I574896040a74085dee89a4fefd8384be44ad827b
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-09-20 15:05:36 +02:00
..
qcalendar Remove the qmake project files 2021-01-07 15:32:28 +01:00
qdate Make QDate's text round-trip test do actual comparisons 2021-02-11 11:46:04 +01:00
qdatetime Fix QDateTimeParser's handling of 't' format to match serialization 2021-09-20 15:05:36 +02:00
qdatetimeparser Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtime Add new am/pm format-specifier that preserves locale's case 2021-09-08 20:28:40 +02:00
qtimezone Remove conditioning on Android embedded 2021-09-17 17:30:14 +02:00
CMakeLists.txt Add unit tests for qdatetimeparser 2020-10-23 20:33:18 +02:00