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

QNetworkRequest::setHeader(IfModifiedSince) treats local time as UTC

    XMLWordPrintable

Details

    • aa8fd6bc39 (qt/qtbase/dev) 1a06d4842b (qt/qtbase/6.3) 1a06d4842b (qt/tqtc-qtbase/6.3) f8836286ac (qt/qtbase/6.2) f8836286ac (qt/tqtc-qtbase/6.2) 92959fe57f (qt/tqtc-qtbase/5.15)

    Description

      httpReq.setHeader(QNetworkRequest::IfModifiedSinceHeader, QDateTime::currentDateTime());
      Outputs local time with GMT suffix. It should call QDateTime::toUTC() beforehand.

      The same probably goes for other headers with DateTime value.

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            karidery F L
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes