qt6-bb10/tests/auto/corelib/time
Ivan Solovev 44f3fe1cf4 Android: use BCP 47 tag to create a correct Locale for QTimeZone::displayName()
Before the patch we tried to create a java Locale object by passing the
human-readable language, territory and variant strings. However, the
Locale constructor accepts ISO-defined codes.

Fix it by using a factory method Locale.forLanguageTag() [0] that
constructs a Java Locale object based on BCP 47 tag.

[0]: https://developer.android.com/reference/java/util/Locale#forLanguageTag(java.lang.String)

Fixes: QTBUG-101460
Pick-to: 6.3 6.2 5.15
Change-Id: If414c66cf0e5b7e8299ffc3a6038b6f9eb79d5ec
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2022-04-08 00:13:01 +02:00
..
qcalendar Revise (recently-added) yearSharingWeekDays() to take a QDate 2021-11-15 20:00:21 +01:00
qdate Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
qdatetime Add a test and remove a work-around for a fixed bug 2022-03-29 22:21:57 +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 Android: use BCP 47 tag to create a correct Locale for QTimeZone::displayName() 2022-04-08 00:13:01 +02:00
CMakeLists.txt Exclude autotest for INTEGRITY 2022-02-18 13:19:45 +00:00