mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 10:55:25 +00:00
(fix) safe guard against bogus tz offset definition
This commit is contained in:
@@ -63,6 +63,10 @@
|
||||
offsetTo = [[self uniqueChildWithTag: offsetName]
|
||||
flattenedValuesForKey: @""];
|
||||
length = [offsetTo length];
|
||||
|
||||
if (!length)
|
||||
return seconds;
|
||||
|
||||
negative = [offsetTo hasPrefix: @"-"];
|
||||
if (negative)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user