Skip to content

Commit

Permalink
fix(preferences): add plus sign to timezone in Sieve script
Browse files Browse the repository at this point in the history
Fixes #5448
  • Loading branch information
cgx committed Dec 16, 2021
1 parent 2daeab3 commit f191231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoObjects/SOGo/SOGoSieveManager.m
Expand Up @@ -1035,7 +1035,7 @@ - (NSException *) updateFiltersForAccount: (SOGoMailAccount *) theAccount
}

seconds = [[ud timeZone] secondsFromGMT];
timeZone = [NSString stringWithFormat: @"%@%.2i%02i", seconds > 0 ? @"+" : @"", 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;

Expand Down

0 comments on commit f191231

Please sign in to comment.