qt6-bb10/src/corelib/time
Edward Welbourne 0a36a7c1db Make 'zz' format an alias for 'z' in time format strings
Also document the (seldom helpful) handling of over-long repeats of a
format. Add test to QDateTime and amend QLocale test.

[ChangeLog][QtCore][QDateTime] Doubling the 'z' format in a date-time
or time format string now produces the same output as a single 'z'.
Previously, this would have produced two copies of the milliseconds
field (eliding any trailing zeros in each). Contrast with 'zzz', which
produces the full milliseconds field, including any trailing zeros.

Change-Id: I4c60462b062fee4079370096d745c191c1939506
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-08-03 18:38:53 +02:00
..
qcalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcalendar.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcalendarbackend_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcalendarmath_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdatetime.cpp Make 'zz' format an alias for 'z' in time format strings 2022-08-03 18:38:53 +02:00
qdatetime.h QtBase: eradicate QT_STRINGVIEW_LEVEL uses 2022-07-20 13:15:55 +02:00
qdatetime_p.h QDateTime: remove a few hardcoded values in favor of <chrono> constants 2022-06-27 17:39:35 -07:00
qdatetimeparser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdatetimeparser_p.h Move remaining time_t code from qdatetime.cpp to QLocalTime 2022-05-20 13:09:35 +02:00
qgregoriancalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgregoriancalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhijricalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhijricalendar_data_p.h Make locale data arrays constexpr 2022-07-20 11:15:57 +00:00
qhijricalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qislamiccivilcalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qislamiccivilcalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qjalalicalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qjalalicalendar_data_p.h Make locale data arrays constexpr 2022-07-20 11:15:57 +00:00
qjalalicalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qjuliancalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qjuliancalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocaltime.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qlocaltime_p.h Implement in QLocalTime the offset functions V4 Date needs 2022-05-22 14:22:37 +02:00
qmilankoviccalendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmilankoviccalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qromancalendar.cpp Remove an extraneous section in the documentation of QRomanCalender 2022-07-26 20:28:03 +02:00
qromancalendar_data_p.h Make locale data arrays constexpr 2022-07-20 11:15:57 +00:00
qromancalendar_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezone.cpp QDateTime::Data, QTimeZone: rule-of-five and noexcept 2022-06-08 18:41:01 +02:00
qtimezone.h QDateTime::Data, QTimeZone: rule-of-five and noexcept 2022-06-08 18:41:01 +02:00
qtimezoneprivate.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezoneprivate_android.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezoneprivate_data_p.h Core: make CLDR data constexpr 2022-05-27 09:33:28 +08:00
qtimezoneprivate_icu.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezoneprivate_mac.mm Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezoneprivate_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtimezoneprivate_tz.cpp PosixZone::parse(): don't reset already-initialized variable 2022-06-08 18:41:01 +02:00
qtimezoneprivate_win.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00