Update 'schedule/schedule.php'
This commit is contained in:
parent
5147f82859
commit
036aa94ed3
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue