Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.1, 6.5
-
None
-
Latest Manjaro
-
-
1
-
607c5a90c5 (qt/qtbase/dev) 607c5a90c5 (qt/tqtc-qtbase/dev) e6070412d3 (qt/qtbase/6.3) 09268a5702 (qt/qtbase/6.4) e6070412d3 (qt/tqtc-qtbase/6.3) 09268a5702 (qt/tqtc-qtbase/6.4)
-
Foundation Sprint 63
Description
This example code shows the Bug:
from PySide6.QtWidgets import QApplication, QDateEdit from PySide6.QtCore import Qt, QDate import sys app = QApplication(sys.argv) date = QDate.fromString("2022-08-02", Qt.DateFormat.ISODate) print(date.toString(Qt.DateFormat.ISODate)) edit = QDateEdit(date) edit.show() sys.exit(app.exec())
If you execute this code, it will print the correct date (2022-08-02), so this works. But the QDateEdit will have 2022-08-01, which is the wrong date selected.
Attachments
For Gerrit Dashboard: QTBUG-105322 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
424824,4 | Fix initialization of QDateEdit and QTimeEdit | dev | qt/qtbase | Status: MERGED | +2 | 0 |
424855,2 | Expand QDateTime edit constructor tests to cover Q(Date|Time)Edit | dev | qt/qtbase | Status: MERGED | +2 | 0 |
424876,2 | Fix handling of invalid input to Q(Date|Time)Edit constructors | dev | qt/qtbase | Status: MERGED | +2 | 0 |
425053,4 | Fix initialization of QDateEdit and QTimeEdit | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
425054,4 | Fix initialization of QDateEdit and QTimeEdit | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
425276,3 | Fix handling of invalid input to Q(Date|Time)Edit constructors | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
425277,3 | Fix handling of invalid input to Q(Date|Time)Edit constructors | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
425279,3 | Expand QDateTime edit constructor tests to cover Q(Date|Time)Edit | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
425280,3 | Expand QDateTime edit constructor tests to cover Q(Date|Time)Edit | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |