Skip to content

Commit 16d81f1

Browse files
Fix issue #4
1 parent 77f1513 commit 16d81f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Weather.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public function timeFormat(string $timeFormat): self
105105
public function date(DateTime $startDate, DateTime $endDate): self
106106
{
107107
$this->withQuery([
108-
'start_date' => $startDate->format('yyyy-mm-dd'),
109-
'end_date' => $endDate->format('yyyy-mm-dd'),
108+
'start_date' => $startDate->format('Y-m-d'),
109+
'end_date' => $endDate->format('Y-m-d'),
110110
]);
111111

112112
return $this;

0 commit comments

Comments
 (0)