diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-11-22 14:48:06 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-12-05 23:04:13 +0100 |
commit | 6825487bc92324c9321079b48760535f959036ba (patch) | |
tree | 6a7d20fecd5444d3e4013fa47c60fbabe4c87a6b /src/corelib | |
parent | 992b92d8c490730771c2e72b27c3a47f4428858e (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.cpp | 1 |
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(); } |