Skip to content

Commit

Permalink
Fix: copy/paste error breaks pending changes list
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Apr 8, 2024
1 parent 158a6b0 commit ff7a273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/PendingChangesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function changesQuery(array $params): Builder

if ($to !== '') {
// before end of the day
$to_time = DateTimeImmutable::createFromFormat('!Y-m-d', $from, $tz)
$to_time = DateTimeImmutable::createFromFormat('!Y-m-d', $to, $tz)
->add(new DateInterval('P1D'))
->setTimezone($utc)
->format('Y-m-d H:i:s');
Expand Down

0 comments on commit ff7a273

Please sign in to comment.