Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.2
-
None
-
VS2019, debug build, using static QT6 build and ICU
-
-
13
-
7d00924ef3 (qt/qtbase/6.2) 7d00924ef3 (qt/tqtc-qtbase/6.2)
-
Team A Foundation Sprint 54, Team A Foundation Sprint 55
Description
Following lines of code lead to a debug assert:
...
QDate dt1(1900, 1, 1);
QDateTime dt2 = dt1.startOfDay( );
...
If you change the date (1901, etc), everything seems to work correctly.
This code is part of following function, which therefore also leads to an assert:
bool QDateTimeParser::fromString(const QString &t, QDateTime* datetime) const
My Qt build links statically to ICU 70.1.
(See discussion for details of the custom static ICU build and configuration to enable Qt to cross-compile to 32-bit with it, starting 31 Mar '22.)
Attachments
Issue Links
- relates to
-
QTBUG-100873 REG->6.3b1/Windows with system clock offset: Assert when instantiating QDateTimeEdit
- Closed
-
QTBUG-102199 QLocale::toDateTime asserts
- Closed