https://www.pythonguis.com/faq/qdateedit-widget-does-not-respond-to-setselectedsection/
Fix QDateEdit setSelectedSection not working in PyQt5
Apr 7, 2026 - Learn why QDateEdit.setSelectedSection() doesn't appear to work when called during widget initialization in PyQt5, and how to solve it using a delayed call...
not workingfix