From a0d1cf8de147208f587ba0798390dd4c7ec76dc7 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 26 Oct 2006 00:38:01 +0000 Subject: [PATCH] Monotone-Parent: 07730dab75f3e59711482acaf62c0d6b6ef56a5e Monotone-Revision: 0aa6da157615a44a87763825308c0f8aef065eb3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-26T00:38:01 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 2 ++ UI/MainUI/SOGoUserHomePage.m | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6aa0bdbd4..4ddfc74d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ hour" between the "sday" and "eday" date parameters passed in the url. This permits to handle the display of the freebusy with Ajax mechanisms. + ([SOGoUserHomePage -_freeBusyAsText]): add 2 days to the end date + since the free busy displays 2 days ahead. * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView -contactSearchAction]): new action that returns the uid and the diff --git a/UI/MainUI/SOGoUserHomePage.m b/UI/MainUI/SOGoUserHomePage.m index e229d9729..300e369bb 100644 --- a/UI/MainUI/SOGoUserHomePage.m +++ b/UI/MainUI/SOGoUserHomePage.m @@ -326,6 +326,8 @@ static NSArray *internetAccessStates = nil; inTimeZone: uTZ]; else endDate = [startDate hour: 23 minute: 59]; + endDate = [endDate dateByAddingYears: 0 months: 0 days: 2 + hours: 0 minutes: 0 seconds: 0]; return [self _freeBusyAsTextFromStartDate: startDate toEndDate: endDate forFreeBusy: co];