pull/57/head
Ludovic Marcotte 2014-10-01 14:08:29 -04:00
parent 89284d558c
commit 25b7fffb00
2 changed files with 10 additions and 1 deletions

6
NEWS
View File

@ -1,3 +1,9 @@
2.2.10 (2014-xx-xx)
-------------------
Bug fixes
- fix freebusy lookup with "Show time as busy" (#2930)
2.2.9a (2014-09-29)
-------------------

View File

@ -215,7 +215,10 @@
timeZone: [endDate timeZone]];
interval = [endDate timeIntervalSinceDate: startDate] + 60;
intervals = interval / intervalSeconds; /* slices of 15 minutes */
// Slices of 15 minutes. The +4 is to take into account that we can
// have a timezone change during the freebusy lookup.
intervals = interval / intervalSeconds + 4;
// Build a bit string representation of the freebusy data for the period
freeBusyItems = NSZoneCalloc (NULL, intervals, sizeof (int));