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

QTime::toString() does not work correctly

XMLWordPrintable

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

      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)"

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes