Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.3, 6.8.0 RC
-
None
-
Windows 10, MSVC 2022
-
-
e9778e602 (6.8.0)
Description
This was introduced in 6.8.0 rc; previous 6.8 betas were not affected.
Just add the following to main() in a empty project
QDate testDate = QDate::fromString("2024-09-25","yyyy-MM-dd");
This causes an assert in debug builds on current MSVC 2022 (17.11.2, 17.11.4) but not on the default MinGW chain.
ASSERT: "maximum.date().toJulianDay() == 5373484" in file C:\Users\qt\work\qt\qtbase\src\corelib\time\qdatetimeparser.cpp, line 1617
Attachments
Issue Links
- is duplicated by
-
QTBUG-129448 ASSERT triggered in QDate::fromString
- Closed