mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-29 08:49:27 +00:00
Fix time format when default is chosen
This commit is contained in:
@@ -2155,13 +2155,16 @@ static NSArray *reminderValues = nil;
|
||||
else
|
||||
[v setObject: [NSNumber numberWithBool: NO] forKey: @"SOGoRememberLastModule"];
|
||||
|
||||
// We remove short/long date formats if they are default ones
|
||||
// We remove short/long date/time formats if they are default ones
|
||||
if ([[v objectForKey: @"SOGoShortDateFormat"] isEqualToString: @"default"])
|
||||
[v removeObjectForKey: @"SOGoShortDateFormat"];
|
||||
|
||||
if ([[v objectForKey: @"SOGoLongDateFormat"] isEqualToString: @"default"])
|
||||
[v removeObjectForKey: @"SOGoLongDateFormat"];
|
||||
|
||||
if ([[v objectForKey: @"SOGoTimeFormat"] isEqualToString: @"default"])
|
||||
[v removeObjectForKey: @"SOGoTimeFormat"];
|
||||
|
||||
if (![self externalAvatarsEnabled])
|
||||
{
|
||||
[v removeObjectForKey: @"SOGoGravatarEnabled"];
|
||||
|
||||
Reference in New Issue
Block a user