mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 14:16:23 +00:00
Monotone-Parent: 11f8d83d73adbe0533367093aedd11247bf76b6d
Monotone-Revision: 0be38e52c20f800a65befd7b4eeca913e9d0d505 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-08T16:59:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user