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

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

    XMLWordPrintable

    Details

    • Commits:
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              leonlee Leonard Lee
              PM Owner:
              Maurice Kalinowski Maurice Kalinowski
              RnD Owner:
              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