I've created QDateTimeEdit
widget in QtDesigner with calendarPopup
option checked.
I need months to be shown in English language but they are shown in my system locale language.
I've tried this:
self.ui.dateTimeEdit.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
and this:
self.ui.dateTimeEdit.setLocale(QtCore.QLocale(QtCore.QLocale.English))
...but months are still showing in my local language. What am I doing wrong?