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

During Transition from DST back to standard time. the local clock time repeats an hour.

    XMLWordPrintable

Details

    • Windows
    • 5
    • Foundation PM Staging

    Description

      When daylight saving time is in effect, there is one hour of local clock time that will be repeated when transitioning back from DST to standard time. The first instance of this hour should have the DST time zone, while the second instance should have the standard time zone. Unfortunately, QDateTime::currentDateTime uses the standard time zone for both instances.

      QDateTime::currentDateTime() calls GetLocalTime, which will return exactly the same values for both cases, without reference to a time zone. The new QDateTime instance constructed from these values does not get a time zone parameter either, so both cases will necessarily set the same time zone.

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            irfan.omair@digia.com Irfan Omair
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes