Details
-
Task
-
Resolution: Fixed
-
P4: Low
-
6.4
-
None
-
1
-
c464f67db (dev), 1efc142d2 (6.7), 6b41f5882 (tqtc/lts-6.5)
Description
The TZ database reported by MSVC 2019 contains a handful of timezones that QTimeZone does not know how to handle:
190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "Antarctica/Troll" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "CET" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "EET" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "Factory" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "MET" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/AST4" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/AST4ADT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/CST6" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/CST6CDT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/EST5" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/EST5EDT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/HST10" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/MST7" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/MST7MDT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/PST8" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/PST8PDT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/YST9" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "SystemV/YST9YDT" 190: QDEBUG : tst_QTimeZone::stdCompatibility() Zone not found: "WET"
The "version" reported by std::chrono::tzdb is 2021a.27 . The name reveals that it's using ICU. https://github.com/microsoft/STL/blob/main/stl/inc/chrono#L2073
This isn't really an action item, just something to track this peculiarity, for the moment being.
(Maybe the only weird occurrence is Troll, that doesn't seem to exist in CLDR data?)
Attachments
Issue Links
- is replaced by
-
QTBUG-68812 A new back-end for QTimeZone based on C++20 std::chrono::tzdb
- Closed
- relates to
-
QTBUG-84297 QTimeZone::NameType doesn't work as documentated
- Closed