diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2013-03-06 10:00:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-12 11:43:01 +0100 |
commit | 6bc691dde53a3056d708d94d8bb1317d622835b0 (patch) | |
tree | f7371446f88bda791aa2d274c24753f12763a338 /src/corelib/tools/qlocale.h | |
parent | 124da59cb40df5e47e7183dfef90bcd5957ed71f (diff) |
Revert 6497649730daeab5d3dfac7e806105e99a237656 and clarify docs.
It introduced a regression by requiring that a p/P was also present:
QTime time = QTime::currentTime();
qDebug() << time.toString("h:mm:ss a");
// Outputs "10:05:42 am" in Qt 4.8.
// Outputs "10:05:42 a" with 6497649730daeab5d3dfac7e806105e99a237656.
This patch also clarifies the QTime::toString(QString) documentation.
Change-Id: I4d73a959c2ca76304f03a4ce9717b540ad4e8811
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/corelib/tools/qlocale.h')
0 files changed, 0 insertions, 0 deletions