Details
-
Task
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
6e3b5801d26dc186066155202847342782bf653b (qt/qtbase/dev)
Description
The function is currently virtual in QDateTimeParser, and QDateTimeEdit uses i18n mechanisms to implement l10n functionality. This is a poor choice, and in Qt 6 we can remove the possibility to override getAmPmText (it's only done in private classes anyway) and rely on the locale by default. The only publicly noticable effect of this is that the translatable strings will disappear.
See QTBUG-72833 and relevant commits for the issue, and temporary fix in Qt 5.
Attachments
Issue Links
- resulted from
-
QTBUG-72833 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
- Closed