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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5: Not important
    • 5.3.0
    • 5.2.0, 5.15
    • Core: Locales (i18n)
    • Windows >= Win7
    • 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

              Eddy Edward Welbourne
              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