diff --git a/UI/PreferencesUI/UIxJSONPreferences.m b/UI/PreferencesUI/UIxJSONPreferences.m index 525954124..b1c6af7a9 100644 --- a/UI/PreferencesUI/UIxJSONPreferences.m +++ b/UI/PreferencesUI/UIxJSONPreferences.m @@ -59,7 +59,10 @@ defaults = [[context activeUser] userDefaults]; dirty = NO; - + + if (![[defaults source] objectForKey: @"SOGoShortDateFormat"]) + [[defaults source] setObject: @"default" forKey: @"SOGoShortDateFormat"]; + if (![[defaults source] objectForKey: @"SOGoLongDateFormat"]) [[defaults source] setObject: @"default" forKey: @"SOGoLongDateFormat"];