Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.3
-
None
-
-
1
-
8c943392a (dev), b546ab5af (6.9), d30642aea (6.8)
-
Foundation Sprint 128
Description
https://doc.qt.io/qt-6.8/qdatetime.html#toTimeZone shows a code snippet (copied from the snippet above it) that calls the deprecated QDateTime::toTimeSpec instead of QDateTime::toTimeZone. This is outdated and doesn't compile as written with the QTimeZone::UTC argument.