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

Incorrect daylight saving time offset.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: Core: Date/Time
    • Labels:
      None
    • Environment:
      Windows 7 64 bit
    • Commits:
      92fad720af012eed1564cfa0338c52786b0eca6c, 68bcccac228b73c54137304718c3c92460bc1f4b, a99c773972d845e453a86974653df19f60d8e7ca

      Description

      daylightTimeOffset function returns zero value for time zones with daylight saving time.
      E.g. UTC+2 Kyiv.

      qDebug() <<QTimeZone::systemTimeZone().daylightTimeOffset(QDateTime()); 

      NOTE: Reproducible only on Windows platforms.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              valentin.naboka Valentin Naboka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes