Skip to content

Commit ecde52a

Browse files
committed
Only show extra times if timezones differ
1 parent ce238a8 commit ecde52a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

application/forms/RotationConfigForm.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,8 @@ private function getTimeOptions(): array
13151315
$this->displayTimezone
13161316
);
13171317

1318+
$scheduleTimezone = $this->getScheduleTimezone();
1319+
13181320
$options = [];
13191321
$dt = new DateTime('now', $scheduleTimezone);
13201322
for ($hour = 0; $hour < 24; $hour++) {

0 commit comments

Comments
 (0)