Fix typo in QTZ constructor docs

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

Pick-to: 6.8 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>
This commit is contained in:
Edward Welbourne 2024-12-09 11:20:11 +01:00 committed by Qt Cherry-pick Bot
parent 7c3723b2a9
commit 66da88f428

View File

@ -497,7 +497,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()