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

QTimeZone::systemTimeZone return invalid timezone

    XMLWordPrintable

Details

    • macOS
    • cfd2f3c46eaefcaa8795a777d5e01fa85dd850a8

    Description

      I tried to run this code

      QTimeZone test = QTimeZone::systemTimeZone();
      qDebug() << "check timezone valid " << test.isValid();
      

      on my mac, I set timezone by 2 different location
      Colombo/Sri Lanka and Indi/India. both of them have timezone +05:30
      but the result very strange.
      when set Colombo/Sri Lanka return timezone valid
      when set Indi/India return timezone invalid.
      this issue also happened on computer of my customer. they are in India

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-80173
          # Subject Branch Project Status CR V

          Activity

            People

              Eddy Edward Welbourne
              nguoithichkhampha Cuong Trinh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes