Add comment on fallback for system zone ID
Change-Id: I6a1eabf2894c549deace7d35bc18781c3fd3df4a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
992b92d8c4
commit
6825487bc9
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user