From 2bdce97480ed66f0e8e9528fbc8f4f9c3d8487bf Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 9 Dec 2024 11:20:11 +0100 Subject: [PATCH] Fix typo in QTZ constructor docs 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 --- src/corelib/time/qtimezone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/time/qtimezone.cpp b/src/corelib/time/qtimezone.cpp index ec2eda92fd2..906a42fc7bb 100644 --- a/src/corelib/time/qtimezone.cpp +++ b/src/corelib/time/qtimezone.cpp @@ -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()