Details
-
Sub-task
-
Resolution: Done
-
P4: Low
-
None
Description
In a non-GMT timezone:
"QDateTime::currentDateTime().toString(Qt::ISODate)" and "QDateTime::currentDateTime().toTimeSpec(Qt::OffsetFromUTC).toString(Qt::ISODate)" produce the same string: local time, without UTC offset
Attachments
Issue Links
- relates to
-
QTBUG-18290 QDateTime::toString loses GMT offset for Qt::OffsetFromUTC QDateTime
- Closed
-
QTBUG-71 Qt lacks QTimeZone class for getting the local time zone
- Closed
-
QTBUG-29666 Support Qt::OffsetFromUTC in QDateTime
- Closed