From ff53f0d9c43b0233ec4d95f9f503eed498f00057 Mon Sep 17 00:00:00 2001 From: Sysix Date: Sun, 22 Jun 2025 14:56:52 +0200 Subject: [PATCH] fix: date formats `voucherlist` endpoint --- src/Clients/VoucherList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Clients/VoucherList.php b/src/Clients/VoucherList.php index 3e6fed3..5184b72 100644 --- a/src/Clients/VoucherList.php +++ b/src/Clients/VoucherList.php @@ -70,7 +70,7 @@ public function setToEverything(): self protected function buildQueryParams(array $params): string { - $dateFormat = DateTimeInterface::ATOM; + $dateFormat = 'Y-m-d'; $params['voucherType'] = implode(',', $this->types); $params['voucherStatus'] = implode(',', $this->statuses);