Skip to content

Commit

Permalink
Merge pull request #32 from still-code/fix-date-options
Browse files Browse the repository at this point in the history
fix date params
  • Loading branch information
atmonshi authored Jun 18, 2024
2 parents e34af84 + 0abe594 commit 39ef2a0
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 39ef2a0

Please sign in to comment.