summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-11-22 14:48:06 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-12-05 23:04:13 +0100
commit6825487bc92324c9321079b48760535f959036ba (patch)
tree6a7d20fecd5444d3e4013fa47c60fbabe4c87a6b /src/corelib
parent992b92d8c490730771c2e72b27c3a47f4428858e (diff)
Add comment on fallback for system zone ID
Change-Id: I6a1eabf2894c549deace7d35bc18781c3fd3df4a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/time/qtimezone.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/time/qtimezone.cpp b/src/corelib/time/qtimezone.cpp
index d04300e167..197031c616 100644
--- a/src/corelib/time/qtimezone.cpp
+++ b/src/corelib/time/qtimezone.cpp
@@ -786,6 +786,7 @@ QByteArray QTimeZone::systemTimeZoneId()
auto zone = systemTimeZone();
if (zone.isValid() && !zone.id().isEmpty())
return zone.id();
+ // TODO: "-00:00", meaning "unspecified local zone" in some RFC, may be more apt.
// If all else fails, guess UTC.
return QTimeZonePrivate::utcQByteArray();
}