Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events #9

Merged
deepend merged 1 commits from :master into master 2020-07-03 05:58:44 +00:00
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) {