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

Date().toLoacleTimeString() doesn't respect the locale

    XMLWordPrintable

Details

    • Windows
    • e813acbb0 (dev)

    Description

      Executing the snippet from https://doc.qt.io/qt-6/qml-qtqml-date.html#toLocaleTimeString-method doesn't output what's expected.

      Here, the locale is specified as "de_DE" but the output is Tokyo, Japan. The project is attached to this ticket. (Built with Qt 6.6.0 MinGW)

      Attachments

        1. untitled.zip
          4 kB
          Mikio Hirai
        2. image-2024-02-19-21-46-47-423.png
          46 kB
          Mikio Hirai

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change