Skip to content

Commit

Permalink
38199: Some Booking Tool hours not shown in week view
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Oct 12, 2023
1 parent 80e73d7 commit 00001ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/BookingManager/BookingProcess/class.WeekGridGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ protected function getHoursOfDay() : array
$start = sprintf('%02d:00', $i);
if ($this->day_start > 0 && $i === $this->day_start) {
$start = sprintf('%02d:00', 0);
$end = sprintf('%02d:00', $i);
$end = sprintf('%02d:00', $i + 1);
} else {
$end = sprintf('%02d:00', $i + 1);
}
if ($this->day_end < 23 && $i === $this->day_end) {
$end = sprintf('%02d:00', 23);
$end = sprintf('%02d:00', 23 + 1);
}
switch ($this->time_format) {
case \ilCalendarSettings::TIME_FORMAT_12:
Expand Down

0 comments on commit 00001ca

Please sign in to comment.