qt6-bb10/util
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
..
accessibilityinspector Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
aglfn Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cmake cmake: Rename QT_UIKIT_SDK to QT_APPLE_SDK 2024-03-18 19:04:14 +01:00
edid Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
glgen Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gradientgen Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
includemocs Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity
lexgen Remove extra semi-colons 2024-02-06 20:17:18 +09:00
locale_database Fix handling of am/pm indicators in mapping from CLDR to Qt formats 2024-04-19 13:39:41 +02:00
plugintest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfloat16-tables Correct util file to reduce exceptions 2024-02-20 16:22:28 +01:00
testrunner sanitizer-testrunner.py: be verbose about FAILs being ignored 2023-10-18 18:20:14 +02:00
unicode Unicode line breaking: Implement rules LB15a and LB15b 2024-02-08 17:43:58 +01:00
wasm wasm: make qtloader.js use FS.createPreloadedFile when preloading 2024-03-14 14:54:53 +00:00
x86simdgen qsimd_x86: update from upstream and enable a few more features 2023-05-26 16:22:22 -07:00
xkbdatagen Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
update_public_suffix_list.sh update_public_suffix_list.sh: print suggested topic: 2024-01-31 21:18:47 +01:00