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

/etc/localtime is always treated as symlink

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Core: Date/Time
    • Labels:
      None
    • Environment:
      Qt: 5.15.0
      Linux: 5.7.14
      glibc: 2.30
    • Platform/s:
      All
    • Commits:
      b12d6c6a8ab5f7b01bdd2cb862a66a409700faa1 (qt/qtbase/dev) 87b07a60da183a60a7e7c79e5daa3ab69a03b4c3 (qt/qtbase/5.15)

      Description

      QTzTimeZonePrivate::systemTimeZoneId always treats that /etc/localtime is a symlink.

      When it is not a symlink, empty string is returned.

      /etc/localtime itself will never be parsed, which causes timezone issues (my KDE tells it's Thursday, 27th of August, not Friday, 28th)

        Attachments

        1. alt-timezone.patch
          2 kB
        2. localtime
          1 kB
        3. Screenshot_20200831_173952.png
          Screenshot_20200831_173952.png
          805 kB
        4. Screenshot_20200916_114654.png
          Screenshot_20200916_114654.png
          509 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Eddy Edward Welbourne
            Reporter:
            mcpain_alt Oleg Solovyov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes