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

QDate::toString() & QDateTime::toString() with locale

    XMLWordPrintable

Details

    Description

      It would be very useful, if QDate::toString() & QDateTime::toString() would provide a possibility to select the language/locale settings for the output string.
      A possible solution would be to add a QLocale parameter to the function:

      QString QDate::toString ( const QString & format, const QLocale locale ) const

      This is necessary for programs with multiple translations that provide the possibility for the user to select the language manually.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes