As long noted in the QIcuTimeZonePrivate constructor, we can't trust ucal_open()'s non-null return to mean it actually recognised the ID we passed it. So break out the "is available" check to a function in the QtTimeZoneLocale namespace so the check can be shared with localeName() when compiled with ICU but some other backend. We were previously getting GMT as display name for zones unknown to ICU. Pick-to: 6.8 Change-Id: I57d57f94d8db7df76f24193a8ef1b5c71b08b0fc Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit fc9a26ea3a0b76de8a437d6417af334a7a9dfde5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%