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

WASM: Diverging timezones in C++/QML

    XMLWordPrintable

Details

    • WebAssembly
    • 373897481fb930055e6e89035b1055f8dd80b83f (qt/qtdeclarative/dev) 11a93d1ab6b2db3b16f8e556ce6ab9605f562e3f (qt/qtdeclarative/6.2) a18926c736bf9de6bd652c8bb1799d4678001341 (qt/tqtc-qtdeclarative/5.15)

    Description

      Running `new Date().getTimezoneOffset()` does not return the same value as `-QDateTime::currentDateTime().offsetFromUtc() / 60` or `new Date().getTimezoneOffset()` in the browser.

      I'd expect QML to have the same time zone as in C++/Browser, as it is on other platforms like iOS, Android, Linux and MacOS.

      Example attached.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              cajus Cajus Pollmeier
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes