From 1c359df621df0f59417624ab46fea9f6f0987d22 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 1 Apr 2022 15:28:35 +0200 Subject: [PATCH] QDateTimeParser: Correct a comment which was exactly wrong MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I90c2b2bce4aeb5fe9edf70122c6546976583e1bf Reviewed-by: MÃ¥rten Nordheim --- src/corelib/time/qdatetime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/time/qdatetime.cpp b/src/corelib/time/qdatetime.cpp index fe8e74e7fb..89a0dc0324 100644 --- a/src/corelib/time/qdatetime.cpp +++ b/src/corelib/time/qdatetime.cpp @@ -4076,7 +4076,7 @@ qint64 QDateTime::toMSecsSinceEpoch() const case Qt::LocalTime: { // recalculate the local timezone auto status = extractDaylightStatus(getStatus(d)); - // If short, use offset saved by refreshZonedDateTime() on creation: + // If available, use offset saved by refreshZonedDateTime() on creation: if (!d.isShort()) return d->m_msecs - d->m_offsetFromUtc * MSECS_PER_SEC; // Offset from UTC not recorded: need to recompute.