mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-30 18:11:45 +00:00
Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop
This commit is contained in:
@@ -160,8 +160,8 @@ class General extends AbstractExtension
|
||||
|
||||
// get the date from the current session. If it's in the future, keep `now()`.
|
||||
/** @var Carbon $session */
|
||||
$session = clone session('end', today(config('app.timezone'))->endOfMonth());
|
||||
if($session->lt($date)) {
|
||||
$session = clone session('end', today(config('app.timezone'))->endOfMonth());
|
||||
if ($session->lt($date)) {
|
||||
$date = $session->copy();
|
||||
$date->endOfDay();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user