qt5base-lts/tests/auto/corelib/text/qlocale
Edward Welbourne d853816307 Fix handling of Suzhou numbering system
This only arises when the system locale tells us to use its zero as
our zero digit, since no CLDR locale uses it by default. Adapt an
MS-specific QLocale::system() test to use Suzhou numbering, so as to
test this.

While updating the locale-restoration code to also restore the digits
being set in that test, add restore code for the long time format,
where previously only the short time format was restored. Add a
comment to make it less likely one of those shall be missed in future.

Fixes: QTBUG-85409
Change-Id: I343324bb563ee0e455dfe77d4825bf8c3082ca30
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-17 12:19:01 +02:00
..
syslocaleapp Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
test Remove winrt 2020-06-06 20:25:49 +02:00
.gitignore Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
qlocale.pro Remove winrt 2020-06-06 20:25:49 +02:00
tst_qlocale.cpp Fix handling of Suzhou numbering system 2020-07-17 12:19:01 +02:00