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

    • Type: Sub-task
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Fix Version/s: 5.2.0
    • Component/s: Core: Date/Time
    • Labels:
      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

              Assignee:
              johnlayt John Layt
              Reporter:
              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