mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-04 00:04:19 +00:00
Fix for bug #2930
This commit is contained in:
@@ -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)
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user