Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135238

QDateTime::toTimeZone doc's code snippet calls deprecated ::toTimeSpec

    XMLWordPrintable

Details

    • All
    • 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.

      Attachments

        For Gerrit Dashboard: QTBUG-135238
        # Subject Branch Project Status CR V

        Activity

          People

            Eddy Edward Welbourne
            barbicels- R Brown
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: