Fix issues with freebusy (Web, busyOffHours)

This commit is contained in:
Francis Lachapelle committed 2015-03-17 15:34:00 -04:00
1 parent beb57707e8
commit 1d5ae27c99
3 files changed
+19 -7

No files matched your search

+1 -2
View File
@@ -381,8 +381,7 @@
([currentStartDate compare: startDate] == NSOrderedAscending)? startDate : currentStartDate, @"startDate",
currentEndDate, @"endDate", nil]];
if (!firstRange
&& currentEndDate != endDate
if (currentEndDate != endDate
&& ([currentEndDate dayOfWeek] == 6 || [currentEndDate dayOfWeek] == 0))
{
// Fill weekend days