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

QDateTime::fromString does not work with Qt::RFC2822Date

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 6.2.4, 6.4.2, 6.5.1
    • Core: Date/Time
    • None

    Description

      This code:

      auto dt = QDateTime::fromString("Thu, 15 Nov 2018 04:03:50 GMT", Qt::RFC2822Date);
      Q_ASSERT(dt.isValid()); 

      Works fine under Qt 5.12.12. Getting assertion failure under Qt 6.x.

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes