Default value for short date format
This commit is contained in:
parent
023362797b
commit
1fe5e39254
|
@ -59,7 +59,10 @@
|
||||||
|
|
||||||
defaults = [[context activeUser] userDefaults];
|
defaults = [[context activeUser] userDefaults];
|
||||||
dirty = NO;
|
dirty = NO;
|
||||||
|
|
||||||
|
if (![[defaults source] objectForKey: @"SOGoShortDateFormat"])
|
||||||
|
[[defaults source] setObject: @"default" forKey: @"SOGoShortDateFormat"];
|
||||||
|
|
||||||
if (![[defaults source] objectForKey: @"SOGoLongDateFormat"])
|
if (![[defaults source] objectForKey: @"SOGoLongDateFormat"])
|
||||||
[[defaults source] setObject: @"default" forKey: @"SOGoLongDateFormat"];
|
[[defaults source] setObject: @"default" forKey: @"SOGoLongDateFormat"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue