summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/time
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-11-03 16:48:41 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-11-08 17:05:25 +0100
commite9e0862051076ecaacd031eec09da5384739d741 (patch)
tree3424b9a4e3d6ac6ac17faa00942a11bd5736a2aa /tests/auto/corelib/time
parent4b4bc388de988365568e41532c2dfce3f4a66baa (diff)
Correct and clarify some comments
Change-Id: I011b04cf0dccea51c00c597c8dff74d574fe36ad Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/time')
-rw-r--r--tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
index 0f852418af..e21209390f 100644
--- a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
+++ b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
@@ -1301,7 +1301,7 @@ void tst_QTimeZone::tzTest()
QCOMPARE(dat.standardTimeOffset, 3600);
QCOMPARE(dat.daylightTimeOffset, 0);
- // Test TZ timezone vs UTC timezone for fractionary negative offset
+ // Test TZ timezone vs UTC timezone for non-whole-hour negative offset:
QTzTimeZonePrivate tztz1("America/Caracas");
QUtcTimeZonePrivate tzutc1("UTC-04:30");
QVERIFY(tztz1.isValid());
@@ -1310,7 +1310,7 @@ void tst_QTimeZone::tzTest()
QTzTimeZonePrivate::Data datautc1 = tzutc1.data(std);
QCOMPARE(datatz1.offsetFromUtc, datautc1.offsetFromUtc);
- // Test TZ timezone vs UTC timezone for fractionary positive offset
+ // Test TZ timezone vs UTC timezone for non-whole-hour positive offset:
QTzTimeZonePrivate tztz2("Asia/Calcutta");
QUtcTimeZonePrivate tzutc2("UTC+05:30");
QVERIFY(tztz2.isValid());
@@ -1319,7 +1319,7 @@ void tst_QTimeZone::tzTest()
QTzTimeZonePrivate::Data datautc2 = tzutc2.data(std);
QCOMPARE(datatz2.offsetFromUtc, datautc2.offsetFromUtc);
- // Test a timezone with a name that isn't all letters
+ // Test a timezone with an abbreviation that isn't all letters:
QTzTimeZonePrivate tzBarnaul("Asia/Barnaul");
if (tzBarnaul.isValid()) {
QCOMPARE(tzBarnaul.data(std).abbreviation, QString("+07"));