Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26038 Make Date/Time adhere to ISO 8601
  3. QTBUG-26161

QDateTime::toString does not output timezone

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P4: Low
    • 5.2.0
    • Core: Date/Time
    • None

    Description

      In a non-GMT timezone:
      "QDateTime::currentDateTime().toString(Qt::ISODate)" and "QDateTime::currentDateTime().toTimeSpec(Qt::OffsetFromUTC).toString(Qt::ISODate)" produce the same string: local time, without UTC offset

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              johnlayt John Layt
              av42 A.V.
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes