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

Use DST data even before 1970

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.2.0 FF
    • 5.0.0, 5.9, 5.14, 5.15, 6.0.0
    • Core: Date/Time
    • All
    • 13
    • 35412acd88cad2213be966a950f3112342a299ae (qt/qtbase/dev)
    • Qt6_Foundation_Sprint 28, Qt6_Foundation_Sprint 29, Qt6_Foundation_Sprint 30, Qt6_Foundation_Sprint 31, Qt6_Foundation_Sprint 32, Qt6_Foundation_Sprint 33, Qt6_Foundation_Sprint 34

      At present the QDateTime code goes out of its way to ignore DST before 1970, although it does use the available time-zone data to determine the standard time offset to use instead of DST. This makes no sense.
      I shall remove this at Qt6, so that we just use the time-zone data we have, with no special quirk about 1970.

      (On MS-Windows, when using the native TZ-data APIs, we only get data reaching back a few years before the MS-version was released. Everywhere else (including MS, when we have ICU available) we use the Olson database, which is about as authoritative a source of TZ data as there is.)

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

            Eddy Edward Welbourne
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes