Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
f1465c621c11712991fabe5b8b81ccbb6eea4bb9
Description
QTimeZone::country currently returns an entry from the QLocale::Country enum. That in it's own is fine and should not change.
I would like to suggest a second function that returns a ISO 3166 country name (as string).
Internally, QTimeZone (the private parts) seem to have the knowledge about the country codes, it's just not exposed. QTimeZone itself (the tz backend that is, don't know for the others) has it when it parses the zone.tab file.
Attachments
Issue Links
- is duplicated by
-
QTBUG-39542 QLocale: create a static member function to return ISO 3166 country code for a give QLocale::Country value
- Closed
- relates to
-
QTBUG-79902 QLocale: make fuller and more faithful use of the CLDR data
- Open