forked from tilderadio/site
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:
commit
dc59e404b7
|
@ -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) {
|
||||
|
|
Reference in New Issue