From e5b85007096c9c2493cc0127d58aeee879a172d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sat, 4 Jan 2025 01:34:41 +0100 Subject: [PATCH] fix: set time to zero when calculating remaining days --- src/Entity/Domain.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Entity/Domain.php b/src/Entity/Domain.php index 3093881..841843b 100644 --- a/src/Entity/Domain.php +++ b/src/Entity/Domain.php @@ -468,7 +468,6 @@ class Domain #[Groups(['domain:item', 'domain:list'])] public function getExpiresInDays(): ?int { - return 0; $now = new \DateTimeImmutable(); $lastStatus = $this->getDomainStatuses()->last(); $daysToExpiration = null;