mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 09:25:09 +00:00
See Changelog
Monotone-Parent: 4dce7f2bb0060199c33ebafe2626104c2cc729ec Monotone-Revision: 85c6ffe1d09e38fb08d3e2069fab3f885c576b0e Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-02-23T16:26:57 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2011-02-23 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||
(-newOccurenceWithID): set the occurrence timezone to the user's
|
||||
timezone. This fixes an issue when accessing occurrences of a
|
||||
recurrent event.
|
||||
|
||||
2011-02-22 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/Scheduler/UIxCalListingActions.m (
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
/* SOGoCalendarComponent.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2006-2010 Inverse inc.
|
||||
* Copyright (C) 2006-2011 Inverse inc.
|
||||
*
|
||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
* Francis Lachapelle <flachapelle@inverse.ca>
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -311,10 +312,13 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence,
|
||||
iCalRepeatableEntityObject *masterOccurence, *newOccurence;
|
||||
iCalCalendar *calendar;
|
||||
NSCalendarDate *recDate;
|
||||
NSTimeZone *timeZone;
|
||||
|
||||
recDate = [NSCalendarDate dateWithTimeIntervalSince1970: [recID intValue]];
|
||||
masterOccurence = [self component: NO secure: NO];
|
||||
|
||||
timeZone = [[[context activeUser] userDefaults] timeZone];
|
||||
[recDate setTimeZone: timeZone];
|
||||
|
||||
if ([masterOccurence doesOccurOnDate: recDate])
|
||||
{
|
||||
newOccurence = [masterOccurence mutableCopy];
|
||||
|
||||
Reference in New Issue
Block a user