Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.15.2
-
Fix Version/s: None
-
Component/s: Core: Date/Time
-
Labels:None
-
Environment:Qt 5.15.2 emscripten 1.39.8
Windows 10 (20H2)
Firefox: 87.0 (64-Bit)
Chrome: Version 89.0.4389.90 (Offizieller Build) (64-Bit)
-
Platform/s:
Description
I have been using in a QML App javascript to get the hour:
(new Date()).getHours()
After Updating to Qt 5.15.2(previous Version was 5.14.0 Beta2) the returned hour is wrong by -1.
I screenshots of the attached examples:
Browser:
Windows:
Simple HTML Javascript:
The timezone in Windows is set to UTC+01:00 with automatic daylight savings.
Attachments
Issue Links
- duplicates
-
QTBUG-91441 wasm: QTimeZone::systemTimeZone().standardTimeOffset always returns 0
-
- Reported
-