diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-01-13 13:58:57 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-09-14 17:46:39 +0200 |
| commit | e5034cb453ea3667b922b6c2f7b36578455ccf7d (patch) | |
| tree | 88c578572813b68a2c316d43d8af8d3a88e6189a /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | 72dd23cf53e910a0e34e71c9a7bf94f92c91fd7d (diff) | |
Process IANA ID lists joined by spaces correctly
The CLDR data from which they're obtained may contain a space-joined
sequence of timezone IDs, rather than a single ID. (This applies
principally to the mapping from MS-specific names to IANA IDs, but in
principle may also apply to the other data obtained from same-shaped
XML.) Note this on the methods of internal types and actually take it
into account when using this data to match IDs.
See CldrAccess.readWindowsTimeZones() in util/locale_database/cldr.py
for the form of the CLDR data from which these are extracted; the type
attributes of mapZone elements in the XML are the source of the
space-joined lists of IANA IDs.
Change-Id: I3f940e4c352d8312ff735f972c9f8f3961572884
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions
