Fix typo in QTZ constructor docs

There is no fromSecondsAfterUtc(), I was thinking of
fromSecondsAheadOfUtc().

Pick-to: 6.5
Fixes: QTBUG-131913
Change-Id: I6a89a27d678d23043819b93d5e4120d01002da4a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 2bdce97480ed66f0e8e9528fbc8f4f9c3d8487bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 66da88f4289083fcee8e42bd759828bd88812df8)
This commit is contained in:
Edward Welbourne 2024-12-09 11:20:11 +01:00 committed by Qt Cherry-pick Bot
parent cca5ca4ea8
commit dff71f52e5

View File

@ -493,7 +493,7 @@ QTimeZone::QTimeZone(const QByteArray &ianaId)
This constructor is only available when feature \c timezone is enabled. The
returned instance is equivalent to the lightweight time representation
\c{QTimeZone::fromSecondsAfterUtc(offsetSeconds)}, albeit implemented as a
\c{QTimeZone::fromSecondsAheadOfUtc(offsetSeconds)}, albeit implemented as a
time zone.
\sa MinUtcOffsetSecs, MaxUtcOffsetSecs, id()