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

Time zone names and abbreviations are not localised

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.7, 6.6, 6.7
    • None
    • All
    • 21
    • 58fd829cd (dev), c8b70f4e5 (dev), 0f770b0b3 (dev), 4017bc5ad (dev), 43cb4136a (dev), a7338bd83 (6.7), 249b8ff3f (6.7), af4bccb56 (6.7), 5f8dc8ea5 (dev), e8d20b145 (tqtc/lts-6.5), 67753fa39 (tqtc/lts-6.5), ec1631c48 (tqtc/lts-6.5), bd01008bc (dev)
    • Foundation Sprint 91, Foundation Sprint 92, Foundation Sprint 93, Foundations Sprint 94, Foundations Sprint 95, Foundations Sprint 96, Foundations Sprint 97, Foundations Sprint 98, Foundations Sprint 99, Foundation Sprint 100, Foundation Sprint 101, Foundations Sprint 102, Foundation Sprint 103, Foundation Sprint 104, Foundation Sprint 105, Foundation Sprint 106, Foundation Sprint 107, Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110

    Description

      QDateTime::timeZoneAbbreviation() and QTimeZone::abbreviation() make no attempt at localization. They end up using the C locale (in effect) for UTC and UTC-offset time representations but a system-supplied (hence typically the system locale's form of) the names and abbreviations for local time or a time zone. When QLocale::toString() is given a format that includes the time zone, it thus fails to correctly reflect the locale that was asked to represent it.

      Attachments

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              Eddy Edward Welbourne
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 6 open Gerrit changes