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

QDate related functions, e.g. shortDayName(), should not be localized.

    XMLWordPrintable

Details

    • b6a61211280aa6ddd56f107a9795c9824b7702b0

    Description

      Thiago mentioned that QDate should not be localized[1]. Thus, the below related functions from QDate class[2] should not use localized names.

      QString 	longDayName ( int weekday, MonthNameType type )
      QString 	longMonthName ( int month, MonthNameType type )
      QString 	shortDayName ( int weekday, MonthNameType type )
      QString 	shortMonthName ( int month, MonthNameType type )
      

      We have missed to change that in Qt 5. This issue reported to remind us to change it in the future releases.

      [1] https://codereview.qt-project.org/#change,42602
      [2] http://doc.qt.digia.com/qt/qdate.html

      Attachments

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              leonlee Leonard Lee
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes