merge of '62d1af99422697f56336f8de72d9a7ae0ec1b210'

and 'c3418cb8dc92a811cb6b1d3b583d6ffd09d6bd4d'

Monotone-Parent: 62d1af99422697f56336f8de72d9a7ae0ec1b210
Monotone-Parent: c3418cb8dc92a811cb6b1d3b583d6ffd09d6bd4d
Monotone-Revision: 950380ef7d21e236720a256867099e544955446c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-19T21:40:01
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-10-19 21:40:01 +00:00
2 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
2009-10-19 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/SOGo/NSCalendarDate+SOGo.m: lower the values of
secondsOfDistantFuture and secondsOfDistantPast to solve a problem
with 64bit environment.
* UI/Scheduler/UIxAppointmentEditor.m
(-startDateIsEqualToEndDate): new method that returns whether or
not the start date is identical to the end date (used for all-day events).

View File

@@ -113,8 +113,9 @@ static NSString *rfc822Months[] = {@"", @"Jan", @"Feb", @"Mar", @"Apr",
timeZoneShift];
}
#define secondsOfDistantFuture 63113990400.0
#define secondsOfDistantPast -63113817600.0
#define secondsOfDistantFuture 1073741823.0
#define secondsOfDistantPast -1073741823.0
+ (id) distantFuture
{