Is QTimeEdit stuck with a 12 hr format (AM/PM) or is there a display format string that will set it to 24 hr format (GMT).
Thanks,
Dick
Printable View
Is QTimeEdit stuck with a 12 hr format (AM/PM) or is there a display format string that will set it to 24 hr format (GMT).
Thanks,
Dick
It displays in 24h format for me by default. I guess this is a matter of locale.
I declared an instance of QLocale with country = Poland and then extracted the time display format string. Turns out all I had to do was use "HH:mm:ss" as the QTimeEdit display format. The default in the US is "hh:mm:ss AP".
Thanks,
Dick