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

Use DST data even before 1970

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0, 5.9, 5.14, 5.15, 6.0.0
    • Fix Version/s: 6.2.0 FF
    • Component/s: Core: Date/Time
    • Labels:
    • Platform/s:
      All
    • Story Points:
      13
    • Commits:
      35412acd88cad2213be966a950f3112342a299ae (qt/qtbase/dev)
    • Sprint:
      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

      Description

      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.)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              Eddy Edward Welbourne
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes