#85 - google calendar improvements #86
@@ -58,7 +58,7 @@ class SendVacationRequestDaysToGoogleCalendar implements ShouldQueue
|
||||
];
|
||||
|
||||
foreach ($days as $day) {
|
||||
if ($day->diffInDays($ranges[$index]["to"]) !== 1) {
|
||||
if ($day->diffInDays($ranges[$index]["to"]) > 1) {
|
||||
$index++;
|
||||
|
||||
$ranges[$index] = [
|
||||
|
||||
Reference in New Issue
Block a user