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

6.7.3 -> 6.8.1 QDateTime from QSqlRecord::value: UTC vs local time: Breaking change intended?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.8.1
    • SQL Support
    • None
    • All

    Description

      is it an intended breaking change or a bug that when getting a QDateTime value from 

      QSqlRecord::value(colIndex).toDateTime()

       in Qt 6.8.1 is returned as UTC while it was local time in 6.7.3? Observed when using Postgresql (PSQL)

       

      6.7.3:

      QDateTime(2025-01-21 14:52:28.552 Mitteleuropäische Zeit Qt::LocalTime)

      6.8.1:

      QDateTime(2025-01-21 13:52:28.552 UTC Qt::UTC)

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            stoeckerb Bernhard Stöcker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes