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

tst_QLocale::windowsDefaultLocale() fails on Win for languages != en_US

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5: Not important
    • Resolution: Fixed
    • Affects Version/s: 5.2.0, 5.15
    • Fix Version/s: 5.3.0
    • Component/s: Core: Locales (i18n)
    • Labels:
    • Environment:
      Windows >= Win7
    • Commits:
      Fix 6ab6ab73fe1055de8ce5a3b353b037424a84e187 (dev, 29.1.2014, 5.3) revert of insignification: 1cc0a18d794c6795a053f833fe8a633e2553a2a9. (5.3), 26f6aa3e50f8eb37a8f748c884537375298ceb2e (5.15)

      Description

      This autotest always fails on Windows. See for example:

      Testing tst_QLocale
      FAIL!  : tst_QLocale::windowsDefaultLocale() Compared values are not the same
         Actual   (locale.timeFormat(QLocale::ShortFormat)): h:mm AP
         Expected (QString("h^m^s"))                       : h^m^s
      ..\tst_qlocale.cpp(1545) : failure location
      Totals: 1095 passed, 1 failed, 1 skipped
      

      and same with Win8

      Testing tst_QLocale
      FAIL!  : tst_QLocale::windowsDefaultLocale() Compared values are not the same
         Actual   (locale.timeFormat(QLocale::ShortFormat)): h:mm AP
         Expected (QString("h^m^s"))                       : h^m^s
      ..\tst_qlocale.cpp(1545) : failure location
      Totals: 1095 passed, 1 failed, 1 skipped
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              falt Simo Fält
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes