(01-13-2025, 02:23 PM)admin Wrote:(01-13-2025, 12:39 PM)admin Wrote: QLocale can only be used to format date and time, but not to control the display format of date and time in QT standard interface controls. We are trying to convert the time format used by the current Windows operating system to the time format of QT.
Please try this fixed version below:
https://www.easyuefi.com/backup-software...250113.exe
Must admit, I've never used QT as developer, I am only reading the documentation. Neither I know exactly which standard interface controls you are using.
Let's suppose that in Edit backup schedule Dialog a QTimeEdit widget is used to select the time and and we name it scheduleTimeEdit
Now, if I read QT documentation correctly the following line ought to set widget's display format to that of the system. Works for Windows and Mac, again, according to the documentation.
scheduleTimeEdit.setDisplayFormat(QLocale:ystem().timeFormat(QLocale::ShortFormat))
Like I already said, I have NULL experience with QT and all this is purely theoretical.
Will test the fixed version tomorrow.
73 /Notko