Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.5
-
-
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
- relates to
-
QTBUG-78996 JavaScript getDay() regression on MinGW
- Closed
-
QTBUG-91441 Support timezones on WASM
- Reported
For Gerrit Dashboard: QTBUG-95314 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
362257,4 | Use QDateTime to get offsets for emscripten (wasm) | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
363173,2 | Turn off feature timezone for emscripten | dev | qt/qtbase | Status: MERGED | +2 | 0 |
363555,2 | Turn off feature timezone for emscripten | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
363558,3 | Turn off feature timezone for emscripten | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
364055,2 | Use QDateTime to get offsets for emscripten (wasm) | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
364058,2 | Use QDateTime to get offsets for emscripten (wasm) | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |