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

Documentation incorrect for QDateTime

    XMLWordPrintable

Details

    • Windows
    • f6bce4fc0ce015d089bb176403b7b196a73bff3e (qt/tqtc-qtbase/tqtc/lts-5.15.3)

    Description

      Qt LTS version: 5.15.2

      URL: https://doc.qt.io/qt-5/qdatetime.html

      in "Static Public Members" section

      for fromString() method, it has 3 overload functions, but only 2 in the document.

      In file: qdatetime.h  382 line:

      #if QT_CONFIG(datestring)
      static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
      static QDateTime fromString(const QString &s, const QString &format);
      static QDateTime fromString(const QString &s, const QString &format, QCalendar cal);
      #endif

       

      also in Qt Assistant 5.15.2, it has the same problem, 1 overload function is missing.

       

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            wujian_mail wujian_mail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes