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

QTimeZone parses zone.tab, which is for backwards compatibility

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.3, 6.5.0
    • None

    Description

      Hi,

      QTimeZone is parsing /usr/share/zoneinfo/zone.tab [1] which is only there for backwards compatibility. The file itself states that:

      # tz zone descriptions (deprecated version)
      #
      # This file is in the public domain, so clarified as of
      # 2009-05-17 by Arthur David Olson.
      #
      # From Paul Eggert (2014-07-31):
      # This file is intended as a backward-compatibility aid for older programs.
      # New programs should use zone1970.tab.  This file is like zone1970.tab (see
      # zone1970.tab's comments), but with the following additional restrictions:
      # ...
      

      zone1970.tab should be used instead.

      [1] http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/tools/qtimezoneprivate_tz.cpp#n73

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes