Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.3
-
None
-
-
9fee35a2ed (qt/qtbase/dev) 9fee35a2ed (qt/tqtc-qtbase/dev) 9f4ffb4bd2 (qt/qtbase/6.3) 9f4ffb4bd2 (qt/tqtc-qtbase/6.3) d4800e542d (qt/qtbase/6.2) d4800e542d (qt/tqtc-qtbase/6.2) 27e0ca05a0 (qt/tqtc-qtbase/5.15)
Description
The above method should just return "invalid" QDateTime when it cannot be "parsed" from provided string/pattern.
Sample inputs:
string - "Sun, 29 Mar 2020 02:26:3"
format - "ddd, d MMM yyyy HH:mm:ss"
Given string clearly does not fall withing provided format (because of "ss"), but QLocale::toDateTime(...) asserts in debug mode.
Attachments
Issue Links
- relates to
-
QTBUG-99747 QDate::startOfDay( ) leads to assert in debug build
- Open