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

QDateTime does not parse a PostgreSQL timestamp with timezone as a Qt::ISODate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.1
    • 5.2.0
    • Core: Date/Time
    • None
    • b60773934dc0231b53e1fde3e5927d969bbf6298

    Description

      QDateTime is unable to parse a datetime from a PostgreSQL column of PostgreSQL data type "timestamp with timezone" which returns a valid ISO 8601 datetime (of the form yyyy-MM-dd HH:mm:ss(+/-)offset from GMT) anymore. This use to work in 5.1.1 and older but no longer works in 5.2.0 . Looking in qdatetime.cpp (as part of a preliminary investigation), It seems that the implementation has changed from 5.1.1 to 5.2.0.

      Attachments

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

        Activity

          People

            johnlayt John Layt
            rvedam Ram Vedam
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes