Skip to content

Commit

Permalink
fix date params
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jun 18, 2024
1 parent 062ea8d commit 0abe594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Umami.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ private static function setOptions($part, $options): array
}

$datesOptions = [
'startAt' => formatDate($options['startAt']),
'endAt' => formatDate($options['endAt']),
'startAt' => formatDate($options['start_at']),
'endAt' => formatDate($options['end_at']),
];

return array_merge($defaultOptions[$part], array_merge($options, $datesOptions));
Expand Down

0 comments on commit 0abe594

Please sign in to comment.