qt6-bb10/tests/auto/corelib/text
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
..
qanystringview QAnyStringView: use new comparison helper macros 2024-03-02 00:12:55 +01:00
qbytearray QString/QByteArray: add slice() methods 2024-02-29 00:27:25 +02:00
qbytearray_large Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayapisymmetry Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearraylist Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearraymatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayview Test that QBAV(QL1SV) and QBAV(QU8SV) constructors are constexpr 2024-03-18 17:42:18 +01:00
qbytedatabuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qchar Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qcollator Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringmatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringview Change license for tests files 2024-02-04 09:56:42 +01:00
qlocale Fix handling of am/pm indicators in mapping from CLDR to Qt formats 2024-04-19 13:39:41 +02:00
qregularexpression Change license for tests files 2024-02-04 09:56:42 +01:00
qstring QString: use comparison helper macros - missing string views [3/3] 2024-03-02 00:12:53 +01:00
qstring_no_cast_from_bytearray Change license for tests files 2024-02-04 09:56:42 +01:00
qstringapisymmetry tst_qstringapisymmetry: add qCompareThreeWay() checks 2024-03-18 17:42:18 +01:00
qstringbuilder Change license for tests files 2024-02-04 09:56:42 +01:00
qstringconverter QStringConverterICU: Pass correct pointer to callback 2024-04-19 05:34:08 +00:00
qstringiterator Change license for tests files 2024-02-04 09:56:42 +01:00
qstringlist Change license for tests files 2024-02-04 09:56:42 +01:00
qstringmatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qstringtokenizer Change license for tests files 2024-02-04 09:56:42 +01:00
qstringview Change license for tests files 2024-02-04 09:56:42 +01:00
qtextboundaryfinder Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qunicodetools Change license for tests files 2024-02-04 09:56:42 +01:00
shared Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Revert "wasm: Disable problematic qlocal test for time being" 2024-03-14 19:11:52 +01:00