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

Documentation incorrect for QDateTime

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15.2
    • Fix Version/s: 5.15.3
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-90775
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            vertries Nico Vertriest (Inactive)
            Reporter:
            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