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

QTime::toString() does not work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.3.1, 5.3.2, 5.5.1
    • Core: Date/Time
    • None
    • Windows 7, Visual Studio 2013

    Description

      QTime sometime(21, 34, 56);
      qDebug() << sometime.toString("h:m:s ap");

      returns as result:
      9:34:56

      should be:
      9:34:56 pm

      Additionally, following message comes:
      "QDateTimeParser::maxChange() Internal error (AmPmSection)"

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              amasiuk Ars Masiuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes