Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0 Alpha
-
None
Description
In 5.1, calling toLocalTime on an invalid QDateTime returns an invalid QDateTime. In 5.2 it returns a 'valid' QDateTime.
Probably QDateTime::toTimeSpec needs to add a check for whether the current QDateTime is valid or not.