Fix date requests

This commit is contained in:
James Cole
2024-11-06 11:11:38 +01:00
parent 6d4004d1ed
commit d118c0d886
3 changed files with 7 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ class DateRequest extends FormRequest
public function getAll(): array
{
return [
'start' => $this->getCarbonDate('start'),
'start' => $this->getCarbonDate('start')->startOfDay(),
'end' => $this->getCarbonDate('end')->endOfDay(),
];
}