Unsolved Is getTimezoneOffset() javascript's date function broken...?
-
Hi. Recently I upgrade a Qt WASM to Emscripten 1.39.8 from 1.38.27, but some strange behaviour is happening. When I call getTimezoneOffset() from a date object on QML side, the function returns 0 in Qt WASM compilation. However, when I run it in Desktop compilation works fine and returns 180 [minutes] (GMT -3 hrs).
I am using Qt 5.15.2.
-
Possibly, I will do some testing and let you know what I find.
-
Yes, it is broken.
I have made a Qt bug report and will fix when I have time.
https://bugreports.qt.io/browse/QTBUG-91441Thanks!