Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.2
-
None
-
-
3e426182e (dev), 23b69855c (6.7), 004da7d2b (tqtc/lts-6.5)
-
Foundation Sprint 104, Foundation Sprint 105, Foundation Sprint 106
Description
const QLocale locale(QLocale::Language::C); QString tst = locale.toString(QDateTime(QDate(2024, 3, 20), QTime(16, 17, 0)), "ddd, dd MMM yy HH:mm:ss"); QDateTime tst2 = locale.toDateTime(tst, "ddd, dd MMM yy HH:mm:ss"); QString tst3 = tst2.toString("ddd, dd MMM yy HH:mm:ss");
The above variable "tst2" is INVALID and "tst3" is EMPTY but it should not be. It should contain date/time and string representation of original datetime from "tst".
Attachments
For Gerrit Dashboard: QTBUG-123579 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
550300,2 | Fix end-of-parse fixup of two-digit year in QDateTimeParser | dev | qt/qtbase | Status: MERGED | +2 | 0 |
556257,2 | Fix end-of-parse fixup of two-digit year in QDateTimeParser | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
556494,4 | Fix end-of-parse fixup of two-digit year in QDateTimeParser | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | -1 |