diff options
author | John Layt <jlayt@kde.org> | 2013-10-15 17:36:36 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-16 21:29:17 +0200 |
commit | 6a63554bf8226b4ffcf23e45627e6e7920671fac (patch) | |
tree | 94bea1f54c2d658041da2b35883c6234d119a420 /tests/auto/printsupport | |
parent | 24b817f20a7956470971b64436f6b8f1f9745115 (diff) |
QDateTime - Fix toTimeSpec() for invalid datetimes
Check if the datetime is valid before converting it to a different time
spec. If it is invalid then just change the spec to keep behavior
consistent with 5.1.
Task-number: QTBUG-34020
Change-Id: I6630ec1d50f810a2178ab3222bd32af018085f81
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/printsupport')
0 files changed, 0 insertions, 0 deletions