diff --git a/Dockerfile b/Dockerfile index f5fe56e..b505e0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM dunglas/frankenphp:php8.4 ENV SERVER_NAME=":80" ENV CADDY_GLOBAL_OPTIONS="auto_https off" ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime" +ENV APP_VERSION="0.0.1" RUN install-php-extensions \ pdo_mysql \ diff --git a/src/Monitor/Action/Handler/MonitorTvShowHandler.php b/src/Monitor/Action/Handler/MonitorTvShowHandler.php index 29934bb..6ea264c 100644 --- a/src/Monitor/Action/Handler/MonitorTvShowHandler.php +++ b/src/Monitor/Action/Handler/MonitorTvShowHandler.php @@ -127,7 +127,7 @@ readonly class MonitorTvShowHandler implements HandlerInterface private function episodeReleasedAfterMonitorCreated(string|DateTimeImmutable $monitorStartDate, array $episodeInShow): bool { - $monitorStartDate = Carbon::parse($monitorStartDate); + $monitorStartDate = Carbon::parse($monitorStartDate)->setTime(0, 0); $episodeAirDate = Carbon::parse($episodeInShow['air_date']); return $episodeAirDate >= $monitorStartDate; }