mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 06:47:12 +00:00
fix(preferences): add plus sign to timezone in Sieve script
Fixes #5448
This commit is contained in:
1 parent
bdfe1be770
commit
2daeab3dd7
1 file changed
+1
-1
@@ -1035,7 +1035,7 @@ static NSString *sieveScriptName = @"sogo";
|
||||
}
|
||||
|
||||
seconds = [[ud timeZone] secondsFromGMT];
|
||||
timeZone = [NSString stringWithFormat: @"%.2i%02i", seconds/60/60, seconds/60%60];
|
||||
timeZone = [NSString stringWithFormat: @"%@%.2i%02i", seconds > 0 ? @"+" : @"", seconds/60/60, seconds/60%60];
|
||||
timeConditions = [NSMutableArray array];
|
||||
startTime = endTime = nil;
|
||||
|
||||
|
||||
Reference in new issue
Block a user