From 7344e4d038941fb20c30cd854bc53160e8b77243 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 19 Oct 2009 21:19:50 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 9020396dd6a24f133f8a6ae82a6958bfdfe53ded Monotone-Revision: c3418cb8dc92a811cb6b1d3b583d6ffd09d6bd4d Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-10-19T21:19:50 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/NSCalendarDate+SOGo.m | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef507ef48..8fbba8079 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-10-19 Francis Lachapelle + * 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). diff --git a/SoObjects/SOGo/NSCalendarDate+SOGo.m b/SoObjects/SOGo/NSCalendarDate+SOGo.m index 46ac1f22c..e2df779bf 100644 --- a/SoObjects/SOGo/NSCalendarDate+SOGo.m +++ b/SoObjects/SOGo/NSCalendarDate+SOGo.m @@ -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 {