Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.1
-
None
Description
The new time zone feature for QDateTime seems not to be integrated well with QML.
Attached is a screenshot that sums up the issue. As you can see, the C++ debug output correctly shows the time in Helsinki, while the QML code always displays local time.
If a QDateTime is created with QTimeZone info, that info is lost after the QDateTime is passed on to QML (doesn't matter if its a context property like in this example, as a return value of a method or a model data).