Default value for short date format

pull/91/head
Ludovic Marcotte 2015-04-06 10:55:42 -04:00 committed by Francis Lachapelle
parent 023362797b
commit 1fe5e39254
1 changed files with 4 additions and 1 deletions

View File

@ -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"];