Auto commit for release 'v6.2.6' on 2025-02-12

This commit is contained in:
github-actions
2025-02-12 20:06:45 +01:00
parent 2da1b43c37
commit b7dad8166d
4 changed files with 16 additions and 16 deletions

View File

@@ -132,8 +132,8 @@ class ShowController extends Controller
$groups->setPath(route('accounts.show', [$account->id, $start->format('Y-m-d'), $end->format('Y-m-d')]));
$showAll = false;
// correct
$now = today()->endOfDay();
if($now->gt($end) || $now->lt($start)) {
$now = today()->endOfDay();
if ($now->gt($end) || $now->lt($start)) {
$now = $end;
}