Skip to content

Commit 8d831f5

Browse files
committed
QDateTime: Fix time format in doc
MM stands for month, SS is invalid Task-number: QTBUG-12236 Change-Id: I9b4a57d05d77fd38db30b53b16c382ea545edb80 (cherry picked from qtbase/a457bf3ff73627aa2c95f0482a838b14fd3233a0) Reviewed-by: Thiago Macieira <[email protected]>
1 parent 48194c7 commit 8d831f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/corelib/tools/qdatetime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ int QTime::msec() const
15331533
Returns the time as a string. Milliseconds are not included. The
15341534
\a format parameter determines the format of the string.
15351535
1536-
If \a format is Qt::TextDate, the string format is HH:MM:SS; e.g. 1
1536+
If \a format is Qt::TextDate, the string format is HH:mm:ss; e.g. 1
15371537
second before midnight would be "23:59:59".
15381538
15391539
If \a format is Qt::ISODate, the string format corresponds to the

0 commit comments

Comments
 (0)