Merge pull request 'Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events' (#9) from khuxkm/tilderadio-site:master into master

Reviewed-on: tilderadio/site#9
This commit is contained in:
deepend 2020-07-03 01:58:43 -04:00
commit dc59e404b7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
$from = gmdate("Y-m-d\T00:00:00\Z", strtotime(date("w") ? "last sunday" : "sunday"));
$to = gmdate("Y-m-d\T00:00:00\Z", strtotime(date("w") ? "sunday" : "next sunday"));
$to = gmdate("Y-m-d\T00:00:00\Z", strtotime("2 days ago",strtotime(date("w") ? "sunday" : "next sunday")));
include 'schedule.php';
function ics_formatdate($date) {