Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.9.7, 5.12.0
-
5aaade8c935caa1add92f61187c0065e34cf7e0e (qt/qtbase/5.13)
Description
When QTimeEdit is using a locale that has a different format for the am/pm text then it is not possible to change the time via the keyboard directly. This is because it assumes the am/pm text is "am" or "pm" whereas some locales use "a. m." or "p. m.".
The attached example sets it up to use one of those locales automatically.
Attachments
Issue Links
- relates to
-
QTBUG-55151 Cannot change times in QDateTimeEdit if format includes AM/PM and widget locale != translator language
- Closed
- resulted in
-
QTBUG-75866 Remove QDateTimeParser::getAmPmText override in QDateTimeEdit
- Closed
For Gerrit Dashboard: QTBUG-72833 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
261806,12 | Fix editing of QDateTimeEdit in 12-hour locales that don't use AM/PM | 5.13 | qt/qtbase | Status: MERGED | +2 | 0 |
278413,2 | QDateTimeParser: always use locale for AM/PM texts | dev | qt/qtbase | Status: MERGED | +2 | 0 |