Fix time format when default is chosen
This commit is contained in:
parent
6c2052ab6f
commit
d9d8a72651
1
NEWS
1
NEWS
|
@ -11,6 +11,7 @@ Bug fixes
|
||||||
- [web] properly encode rawsource of cards to avoid XSS issues
|
- [web] properly encode rawsource of cards to avoid XSS issues
|
||||||
- [web] fixed all-day events covering a timezone change (#3457)
|
- [web] fixed all-day events covering a timezone change (#3457)
|
||||||
- [web] sgTimePicker parser now respects the user's time format and language
|
- [web] sgTimePicker parser now respects the user's time format and language
|
||||||
|
- [web] fixed time format when user chooses the default one
|
||||||
- [core] properly handle sorted/deleted calendars (#3723)
|
- [core] properly handle sorted/deleted calendars (#3723)
|
||||||
- [core] properly handle flattened timezone definitions (#2690)
|
- [core] properly handle flattened timezone definitions (#2690)
|
||||||
|
|
||||||
|
|
|
@ -2155,13 +2155,16 @@ static NSArray *reminderValues = nil;
|
||||||
else
|
else
|
||||||
[v setObject: [NSNumber numberWithBool: NO] forKey: @"SOGoRememberLastModule"];
|
[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"])
|
if ([[v objectForKey: @"SOGoShortDateFormat"] isEqualToString: @"default"])
|
||||||
[v removeObjectForKey: @"SOGoShortDateFormat"];
|
[v removeObjectForKey: @"SOGoShortDateFormat"];
|
||||||
|
|
||||||
if ([[v objectForKey: @"SOGoLongDateFormat"] isEqualToString: @"default"])
|
if ([[v objectForKey: @"SOGoLongDateFormat"] isEqualToString: @"default"])
|
||||||
[v removeObjectForKey: @"SOGoLongDateFormat"];
|
[v removeObjectForKey: @"SOGoLongDateFormat"];
|
||||||
|
|
||||||
|
if ([[v objectForKey: @"SOGoTimeFormat"] isEqualToString: @"default"])
|
||||||
|
[v removeObjectForKey: @"SOGoTimeFormat"];
|
||||||
|
|
||||||
if (![self externalAvatarsEnabled])
|
if (![self externalAvatarsEnabled])
|
||||||
{
|
{
|
||||||
[v removeObjectForKey: @"SOGoGravatarEnabled"];
|
[v removeObjectForKey: @"SOGoGravatarEnabled"];
|
||||||
|
|
Loading…
Reference in a new issue