diff --git a/ChangeLog b/ChangeLog index b14a564a1..beab4b641 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-07-28 Wolfgang Sourdeau + * UI/Scheduler/UIxCalMonthView.m ([UIxCalMonthView + -weeksToDisplay]): add one day to the computed delta, because + there is always at least one week displayed. + * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder -foldersOfType:typematchingUID:uid]): make searches only in user repositories and not in addressbooks. diff --git a/UI/Scheduler/UIxCalMonthView.m b/UI/Scheduler/UIxCalMonthView.m index 1872340a1..508ee11c4 100644 --- a/UI/Scheduler/UIxCalMonthView.m +++ b/UI/Scheduler/UIxCalMonthView.m @@ -102,7 +102,7 @@ [selectedDate firstDayOfMonth]]; lastDayOfMonth = [selectedDate lastDayOfMonth]; firstToLast = ([lastDayOfMonth timeIntervalSinceDate: firstOfAllDays] - / 86400); + / 86400) + 1; weeks = firstToLast / 7; if ((firstToLast % 7)) weeks++;