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