qt6-bb10/tests/auto/corelib
Edward Welbourne 42e4e1816a Fix handling of am/pm indicators in mapping from CLDR to Qt formats
Both qlocale_mac.mm and dateconverter.py were mapping the CLDR am/pm
indicator, 'a', to the Qt format token 'AP', forcing the indicator to
uppercase. The LDML spec [0] says:

    May be upper or lowercase depending on the locale and other
    options.

[0] https://www.unicode.org/reports/tr35/tr35-68/tr35-dates.html#Date_Field_Symbol_Table
We don't support the "other options" mentioned, but we can at least
(since 6.3) preserve the the locale-appropriate case, instead of
forcing upper-case. As such, this change is a follow-up to
commit 4641ff0f6a

Changes locale data, as expected, to use "Ap" in place of "AP" in
various formats in the time_format_data[] array.

[ChangeLog][QtCore][QLocale] Where CLDR specifies an am/pm indicator,
the case of the CLDR-supplied indicator is used, where previously
QLocale forced it to upper-case.

Change-Id: Iee7d55e6f3c78372659668b9798c8e24a1fa8982
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-19 13:39:41 +02:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global QKeyCombination: use new comparison helper macros 2024-04-17 20:30:37 +02:00
io wasm: Enable fileselector test 2024-04-18 12:31:17 +02:00
ipc QNativeIpcKey: use new comparison helper macros 2024-04-17 20:30:37 +02:00
itemmodels QItemSelectionRange: use new comparison helper macros 2024-04-18 14:23:15 +02:00
kernel QDeadlineTimer: use new comparison helper macros 2024-04-18 20:55:50 +02:00
mimetypes Change license for tests files 2024-02-04 09:56:42 +01:00
platform Android: fix 180 degree orientation issue 2024-04-12 02:20:51 +03:00
plugin tst_QFactoryLoader: includemocs 2024-03-12 14:23:42 +01:00
serialization QXmlStreamWriter: fix attempts to write bad QStrings 2024-04-18 14:35:09 -07:00
text Fix handling of am/pm indicators in mapping from CLDR to Qt formats 2024-04-19 13:39:41 +02:00
thread wasm: introduce QT_BUILD_WASM_BATCHED_TESTS 2024-04-17 12:02:09 +02:00
time QIcuTimeZonePrivate constructor: save iteration over all zone IDs 2024-02-08 15:40:03 +01:00
tools Fix warning: remove unused parameter 2024-04-04 00:51:46 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00