forked from tilderadio/site
Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events
This commit is contained in:
parent
3ca33228f5
commit
4a1b41d7de
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user