Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.2, 5.11.2
-
None
-
PyQt5.9.1/Qt5.9.2
-
4e01b851159342122d42be1091d4cfa464700a4e (qt/qtbase/5.12)
Description
I am using PyQt5.9.1/Qt5.9.2 and found a bug of QDateEdit,
When I choose 2017-10-15(October 15) and then the string of date of QDateEdit disappeared.
Test code follows:
import sys from PyQt5 import QtCore, QtGui, QtWidgets def TestQDateEditBug(): app = QtWidgets.QApplication(sys.argv) w = QtWidgets.QWidget() w.resize(250, 150) w.setWindowTitle('TestQDateEditBug') e = QtWidgets.QDateEdit(w) e.setDisplayFormat("yyyy-MM-dd") e.setCalendarPopup(True) e.setGeometry(10, 10, 150, 25) w.show() app.exec_() if __name__ == "__main__": TestQDateEditBug()
Attachments
Issue Links
- duplicates
-
QTBUG-58947 Unable to set certain dates for a QDateEdit
-
- Closed
-