diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2024-05-16 11:31:30 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2024-05-30 20:28:55 +0200 |
| commit | e2e5ab0932d7e4f7e762f8f7e0030594d45e237b (patch) | |
| tree | 29164b7830a4e07a41e286eb88611bc1ee79e7df /src/openglwidgets/qopenglwidget.cpp | |
| parent | c464f67db45e20fb757bacd700b2d5ebbd9d6d05 (diff) | |
Add QTimeZone::aliasMatches()
This makes it possible for the stdCompatibility() test to cope with
the backend (based on the Windows Registry, which disagrees with MS's
ICU-based std::chrono::tzdb) successfully constructing a zone, by
finding a known alias, instead of failing because it doesn't know the
name. It may also be useful to client code when dealing with legacy
names.
Amended some existing tests to only expect what they now should and
added some tests specific to aliasMatches(). Also added some
explanative comments where it isn't needed.
Task-number: QTBUG-115158
Change-Id: I095bdbead78df339e29b29518d5010ef905fa8b2
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions
