Commit 884be512 authored by hjk's avatar hjk

Debugger: Show QDateTime also for non-default timezone

Task-number: QTCREATORBUG-14853
Change-Id: Iaf4501878df15bd55b49d4daab64ea280e14663b
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent 6fe810f5
...@@ -280,7 +280,7 @@ def qdump__QDateTime(d, value): ...@@ -280,7 +280,7 @@ def qdump__QDateTime(d, value):
tz = "" tz = ""
else: else:
idBase = tzp + 2 * d.ptrSize() # [QSharedData] + [vptr] idBase = tzp + 2 * d.ptrSize() # [QSharedData] + [vptr]
tz = d.encodeByteArrayHelper(d.extractPointer(idBase), limit=100) elided, tz = d.encodeByteArrayHelper(d.extractPointer(idBase), limit=100)
d.putValue("%s/%s/%s/%s/%s" % (msecs, spec, offset, tz, status), d.putValue("%s/%s/%s/%s/%s" % (msecs, spec, offset, tz, status),
DateTimeInternal) DateTimeInternal)
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment