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

ShortFormat standaloneDayName incorrect for European Portuguese, pt_PT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.9.3, 5.10.0, 5.9.5
    • Core: Locales (i18n)
    • None
    • The screenshots in this report were taken under Solus with Qt 5.10.0 packaged, but the issue has also been confirmed on Ubuntu Touch 16.04 with Qt 5.9.3 and Ubuntu 18.04 with Qt 5.9.5.

    Description

      In most locales, the short format of standaloneDayName will return a three-character abbreviation of the given day. However, European Portuguese or pt_PT for short returns the full day name.

      The following is a small QML snippet which demonstrates the issue. When running qmlscene to bring these up, I set "LANGUAGE=pt_PT LANG=pt_PT.UTF-8" or similar for the given language.

      This was brought to the attention of Ubuntu Touch since our calendars use this property. These long "short names" won't fit on our calendar.

      I've also been able to confirm the problem with the Calendar QML type, as shown below. The snippet of QML creating this can be found on this Gist. Again, this is run with the LANGUAGE and LANG environment variables set to change the locale.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            universalsuperbox Dalton Durst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes