diff --git a/src/Controller/APIController.php b/src/Controller/APIController.php index b783477e..53b53e52 100644 --- a/src/Controller/APIController.php +++ b/src/Controller/APIController.php @@ -2701,14 +2701,14 @@ class APIController extends Controller implements LoggedController // TODO: remove the time check after ECQ. This will then always return true // get current time $current_datetime = new DateTime(); - //$current_datetime = DateTime::createFromFormat('Y-m-d H:i', '2020-04-30 13:34'); + //$current_datetime = DateTime::createFromFormat('Y-m-d H:i', '2020-04-30 17:01'); // get the hour $hour = $current_datetime->format('G'); error_log($hour); - if (($hour < 8) || ($hour > 17)) + if (($hour < 8) || ($hour > 16)) $schedule_choice = false; $data = [