Skip to content

Commit

Permalink
Resolves #167
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed May 2, 2024
1 parent 240be1c commit d5d5ec3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/controller/weather.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function view_forecast($request)

$weekdays = [];
for ($i = 0; $i < 5; $i++) {
$curtime = strtotime('+' . strval($i + 1) . ' days');
$curtime = strtotime('+' . strval($i) . ' days');

$weekdays[] = [
'date' => date('Y-m-d', $curtime),
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5d5ec3

Please sign in to comment.