Skip to content

Commit

Permalink
Fix typo in QTZ constructor docs
Browse files Browse the repository at this point in the history
There is no fromSecondsAfterUtc(), I was thinking of
fromSecondsAheadOfUtc().

Pick-to: 6.9 6.8 6.5
Fixes: QTBUG-131913
Change-Id: I6a89a27d678d23043819b93d5e4120d01002da4a
Reviewed-by: Ivan Solovev <[email protected]>
  • Loading branch information
ediosyncratic committed Dec 10, 2024
1 parent 879cfec commit 2bdce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/time/qtimezone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2bdce97

Please sign in to comment.