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

QTimeZone::systemTimeZoneId() fails on FreeBSD

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • Core: Date/Time
    • None
    • Other
    • 2

    Description

      consider reading /var/db/zoneinfo which might or might not be present or equal to /etc/localtime see man tzinfo. Note that /etc/localtime is a copy not a symlink on FreeBSD.

      #include <QTimeZone>
      
      int main() {
      QTimeZone::systemTimeZoneId();
      }
      

      gives:

      Unable to determine system time zone: please check your system configuration.
      

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            jsm Jesper Schmitz Mouridsen
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes