Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75866

Remove QDateTimeParser::getAmPmText override in QDateTimeEdit

XMLWordPrintable

    • 6e3b5801d26dc186066155202847342782bf653b (qt/qtbase/dev)

      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.

        For Gerrit Dashboard: QTBUG-75866
        # Subject Branch Project Status CR V

            vhilshei Volker Hilsheimer
            vhilshei Volker Hilsheimer
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes