diff --git a/src/Model/Order.php b/src/Model/Order.php index 0adc212..4bcf96d 100755 --- a/src/Model/Order.php +++ b/src/Model/Order.php @@ -924,7 +924,7 @@ public function setCustomerMail(string $customerMail): void */ public function getCustomerBirthDate(): ?Carbon { - return $this->customerBirthDate ? Carbon::createFromFormat('d/m/Y', $this->customerBirthDate) : null; + return $this->customerBirthDate ? Carbon::createFromFormat('Y-m-d', $this->customerBirthDate) : null; } /**