Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.0
-
None
-
Linux pc 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 GNU/Linux
Description
Reproducable with tzdata 2015a, I have not checked other versions of tzdata.
Set timezone to America/Santiago.
In Qt Quick 2.0 enviroment, run this test:
console.log(new Date().getTimezoneOffset()); console.log(new Date());
Result:
120 Mon Feb 23 13:45:23 2015 GMT-0200
Expected result (correct in v8, QtWebKit, QtQuick 1.0):
180 Mon Feb 23 2015 13:45:23 GMT-0300 (CLST)
The local time is correct, but the timezone information is not correct.