We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f1513 commit 16d81f1Copy full SHA for 16d81f1
src/Weather.php
@@ -105,8 +105,8 @@ public function timeFormat(string $timeFormat): self
105
public function date(DateTime $startDate, DateTime $endDate): self
106
{
107
$this->withQuery([
108
- 'start_date' => $startDate->format('yyyy-mm-dd'),
109
- 'end_date' => $endDate->format('yyyy-mm-dd'),
+ 'start_date' => $startDate->format('Y-m-d'),
+ 'end_date' => $endDate->format('Y-m-d'),
110
]);
111
112
return $this;
0 commit comments