From 0a21fada429ceff23528156cce7b1b2b19b09c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 12 Mar 2025 10:04:12 +0100 Subject: [PATCH] fixup! Add normalization and denormalization for RollingDate --- src/Bundle/ChillMainBundle/Service/RollingDate/RollingDate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDate.php b/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDate.php index 38b75f3a6..e984cad31 100644 --- a/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDate.php +++ b/src/Bundle/ChillMainBundle/Service/RollingDate/RollingDate.php @@ -95,7 +95,7 @@ class RollingDate return [ 'roll' => $this->getRoll(), 'fixed_date' => $this->getFixedDate()?->format(self::NORMALIZATION_FORMAT), - 'pivot_date' => $this->getPivotDate()?->format(self::NORMALIZATION_FORMAT), + 'pivot_date' => $this->getPivotDate()->format(self::NORMALIZATION_FORMAT), 'v' => 1, ]; }