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

QLocale date toString uses standalone name where plain name should be used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.10
    • Fix Version/s: 5.15.7, 6.2.0 Beta4, 6.x
    • Component/s: Core: Locales (i18n)
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows
    • Commits:
      ef504af2d7e24df215a8a6ce6ed2cd60d0ce2a8f (qt/tqtc-qtbase/5.15) 561ba60ea436c06f7aa88ae9c8a847f851851112 (qt/tqtc-qtbase/6.2.0)
    • Story Points:
      13
    • Sprint:
      Qt6_Foundation_Sprint 39, Qt6_Foundation_Sprint 40, Foundation_Sprint 41 (Team 1)

      Description

      I use QLocale().toString(QDateTme::currentDateTime()).

      One of our users reports that month name is spelled incorrectly in Russian.

      Example: "17 Март 2021 г." instead of "17 марта 2021 г." as shown by OS in its clock.

      Why does not this function just query string from OS? I've tried to reproduce it - it works fine for me. So for me - Qt queries it from OS, for that user - it uses some internal mechanism.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              alervd Alexander Dyagilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes