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.