Update 'schedule/schedule.php'
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
deepend 2022-02-08 22:48:30 +00:00
parent 5147f82859
commit 036aa94ed3
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ if (empty($apikey)) {
// allow ics.php to overwrite $from and $to // allow ics.php to overwrite $from and $to
if (!isset($from, $to)) { if (!isset($from, $to)) {
$from = gmdate("Y-m-d\TH:i:s\Z", strtotime("now + 1 day")); $from = gmdate("Y-m-d\TH:i:s\Z", strtotime("today"));
$to = gmdate("Y-m-d\TH:i:s\Z", strtotime("now + 8 days")); $to = gmdate("Y-m-d\TH:i:s\Z", strtotime("today + 8 days"));
} }
$schedule = json_decode( $schedule = json_decode(