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

QTimeZone::displayName ignores locale on Android

    XMLWordPrintable

Details

    • Android
    • 44f3fe1cf4 (qt/qtbase/dev) 44f3fe1cf4 (qt/tqtc-qtbase/dev) 068b6d195d (qt/qtbase/6.3) 068b6d195d (qt/tqtc-qtbase/6.3) a2704c3421 (qt/qtbase/6.2) a2704c3421 (qt/tqtc-qtbase/6.2) bdaef58214 (qt/tqtc-qtbase/5.15)
    • Team A Foundation Sprint 55

    Description

      when calling 

      QTimeZone::systemTimeZone().displayName(QTimeZone::StandardTime, QTimeZone::LongName, QLocale(QLocale::English))
      

      on ios I get the name of the system time zone in English with no regard to the actual phone language. On Android is seems like the last argument of displayName is somewhat ignored since the name is only in english if the phone language is set to english otherwise it is yielded in the language of the phone.

      Attachments

        Issue Links

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

          Activity

            People

              ivan.solovev Ivan Solovev
              sbstnstrn Sebastian Stern
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: