(fix) safe guard against bogus tz offset definition
parent
c5526bb70a
commit
98c5f77945
|
@ -64,6 +64,10 @@
|
|||
offsetTo = [[self uniqueChildWithTag: offsetName]
|
||||
flattenedValuesForKey: @""];
|
||||
length = [offsetTo length];
|
||||
|
||||
if (!length)
|
||||
return seconds;
|
||||
|
||||
negative = [offsetTo hasPrefix: @"-"];
|
||||
if (negative)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue