Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
Robert Miles 2020-07-02 23:25:53 -04:00
parent 3ca33228f5
commit 4a1b41d7de
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) {