#85 - google calendar improvements #86

Merged
Baakoma merged 8 commits from #85-google-calendar-improvements into main 2022-03-18 08:11:35 +01:00
Showing only changes of commit 5988503624 - Show all commits

View File

@@ -58,7 +58,7 @@ class SendVacationRequestDaysToGoogleCalendar implements ShouldQueue
]; ];
foreach ($days as $day) { foreach ($days as $day) {
if ($day->diffInDays($ranges[$index]["to"]) !== 1) { if ($day->diffInDays($ranges[$index]["to"]) > 1) {
$index++; $index++;
$ranges[$index] = [ $ranges[$index] = [