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

QDate::fromString triggers assertion in some cases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 6.3.0
    • Core: Date/Time
    • None
    • Linux/X11

    Description

      The following only occurs on a Qt build with assertions enabled. This line of code:

      QDate::fromString("31/09/2", "d/MM/yyyy");

      causes this assertion to fail:

      ASSERT: "current >= minimum && current <= maximum" in file /home/abuild/rpmbuild/BUILD/qtbase-everywhere-src-6.3.0/src/corelib/time/qdatetimeparser.cpp, line 2143

       

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            timvdm Tim Vandermeersch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes