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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5: Not important 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)

      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
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes