diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-08-22 13:22:31 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-08-22 13:22:31 (GMT) |
commit | 670f460fab6a386407c07281cf6417ccf6430970 (patch) | |
tree | e603186a3d674fdebd85adb2c828b91c793a792d /src/corelib/tools/qdatetime.cpp | |
parent | a51f33f0d847a73c68f69f3a0577bc8facc9f5be (diff) | |
download | Qt-670f460fab6a386407c07281cf6417ccf6430970.zip Qt-670f460fab6a386407c07281cf6417ccf6430970.tar.gz Qt-670f460fab6a386407c07281cf6417ccf6430970.tar.bz2 |
Doc: Fixed date format doc bug in QDateTime/Qt namespace
Task-number: QTBUG-12236
Reviewed-by: David Boddie
Diffstat (limited to 'src/corelib/tools/qdatetime.cpp')
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index a6fee43..085103c 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -1538,7 +1538,7 @@ int QTime::msec() const If \a format is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates, - which is also HH:MM:SS. (However, contrary to ISO 8601, dates + which is also HH:mm:ss. (However, contrary to ISO 8601, dates before 15 October 1582 are handled as Julian dates, not Gregorian dates. See \l{QDate G and J} {Use of Gregorian and Julian Calendars}. This might change in a future version of Qt.) @@ -2461,7 +2461,7 @@ void QDateTime::setTime_t(uint secsSince1Jan1970UTC) If the \a format is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of - dates and times, taking the form YYYY-MM-DDTHH:MM:SS[Z|[+|-]HH:MM], + dates and times, taking the form YYYY-MM-DDTHH:mm:ss[Z|[+|-]HH:mm], depending on the timeSpec() of the QDateTime. If the timeSpec() is Qt::UTC, Z will be appended to the string; if the timeSpec() is Qt::OffsetFromUTC the offset in hours and minutes from UTC will |