Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 937e3c6270 |
@@ -129,7 +129,7 @@ readonly class MonitorTvShowHandler implements HandlerInterface
|
|||||||
{
|
{
|
||||||
static $today = Carbon::today();
|
static $today = Carbon::today();
|
||||||
$episodeAirDate = Carbon::parse($episodeInShow['air_date']);
|
$episodeAirDate = Carbon::parse($episodeInShow['air_date']);
|
||||||
return $episodeAirDate > $today;
|
return $episodeAirDate >= $today;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function episodeExists(array $episodeInShow, Map $downloadedEpisodes): bool
|
private function episodeExists(array $episodeInShow, Map $downloadedEpisodes): bool
|
||||||
|
|||||||
Reference in New Issue
Block a user