Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QDateTimeParser: drop an invalid and largely pointless "optimization"
Now that the maximum and minimum might not be in local time, the day might not be the same as the local time day. In any case, the "saving" of checking for being past the end of that day is negligible compared to all the other wanton costs of the date-time parser. This is a follow-up to commit b6a11a4; thanks to Tor Arne for reporting the resulting assertion failures. Fixes: QTBUG-129347 Change-Id: I1ba443df9340fa63b8765c25004b51467ca5244d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 070ab9e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit c7c64e7) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
- Loading branch information