Monotone-Parent: 11f8d83d73adbe0533367093aedd11247bf76b6d

Monotone-Revision: 0be38e52c20f800a65befd7b4eeca913e9d0d505

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-08T16:59:03
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-09-08 16:59:03 +00:00
parent a485c40823
commit 2f26b074aa
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-09-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoObject.m ([SOGoObject -userTimeZone]): retain
the timezone even when it's the server timezone.
* SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
-privateContacts:inContext:]): no long configure the calendar
object with the user's timezone since it's now accessible

View File

@ -402,10 +402,9 @@ static NSTimeZone *serverTimeZone = nil;
userPrefs = [[context activeUser] userDefaults];
userTimeZone = [NSTimeZone
timeZoneWithName: [userPrefs stringForKey: @"timezonename"]];
if (userTimeZone)
[userTimeZone retain];
else
if (!userTimeZone)
userTimeZone = [self serverTimeZone];
[userTimeZone retain];
}
return userTimeZone;