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

Qt MySQL driver does not add milliseconds for QDateTime in formatValue()

    XMLWordPrintable

Details

    • All
    • 1e6d93e61 (6.9), 6a69db221 (tqtc/lts-6.8), 13e3b7de5 (tqtc/lts-6.5)

    Description

      Fraction of seconds are not inserted when calling QMYSQLDriver::sqlStatement(QSqlDriver::InsertStatement, ...) for QDateTime record fields.

      To reproduce the issue, edit the connection fields to connect to your database and then run the project.

      Attachments

        1. test.zip
          2 kB
          Mehdi Belila
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            mahdi.belila Mehdi Belila
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes