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

/etc/localtime is always treated as symlink

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.2, 6.0.0
    • 5.15.0
    • Core: Date/Time
    • None
    • Qt: 5.15.0
      Linux: 5.7.14
      glibc: 2.30
    • All
    • 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. localtime
          1 kB
        2. Screenshot_20200831_173952.png
          Screenshot_20200831_173952.png
          805 kB
        3. Screenshot_20200916_114654.png
          Screenshot_20200916_114654.png
          509 kB
        4. alt-timezone.patch
          2 kB
        For Gerrit Dashboard: QTBUG-86306
        # Subject Branch Project Status CR V

        Activity

          People

            Eddy Edward Welbourne
            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