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

QDateTime::toString(const QString & format) formats without separators

    XMLWordPrintable

Details

    • e352ec4db4e6c6936bb406bb77776e1da89a2e84 (qt/qtbase/5.12)

    Description

      In http://doc.qt.io/qt-5/qdatetime.html#toString
      the documentation states "Formats without separators (e.g. "HHmm") are currently not supported."

      However formats without separators seem to be working fine.

          QDateTime dateTime = QDateTime::currentDateTime();
          qDebug()<<dateTime.toString("hhmm");
      

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            kileppal Kimmo Leppälä
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes