Skip to content

Commit

Permalink
fixed edge case met de tijdsloten.
Browse files Browse the repository at this point in the history
Kleine boo boo, maar is nu in orde
  • Loading branch information
Witse P authored and d1ff1cult0 committed Nov 28, 2024
1 parent e8e0990 commit 6118894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private function calculateNextTime($time, $endTime)
$minute = explode(':', $time)[1];
$endHour = explode(':', $endTime)[0];
$endMinute = explode(':', $endTime)[1];
if ($minute == '00') {
if ($minute == '00' or $minute == '05') {
$minute = '30';
} else {
$hour = strval($hour + 1);
Expand Down

0 comments on commit 6118894

Please sign in to comment.