diff --git a/app/Api/V1/Controllers/Models/Account/ShowController.php b/app/Api/V1/Controllers/Models/Account/ShowController.php index 586bdbedd7..587076d0db 100644 --- a/app/Api/V1/Controllers/Models/Account/ShowController.php +++ b/app/Api/V1/Controllers/Models/Account/ShowController.php @@ -89,6 +89,8 @@ class ShowController extends Controller // #11007 go to the end of the previous day. $this->parameters->set('start', $this->parameters->get('start')?->subSecond()); + // #11018 also end of the day. + $this->parameters->set('end', $this->parameters->get('end')?->endOfDay()); // enrich /** @var User $admin */ @@ -130,6 +132,8 @@ class ShowController extends Controller // #11007 go to the end of the previous day. $this->parameters->set('start', $this->parameters->get('start')?->subSecond()); + // #11018 also end of the day. + $this->parameters->set('end', $this->parameters->get('end')?->endOfDay()); // enrich /** @var User $admin */ diff --git a/app/Api/V1/Controllers/Models/TransactionCurrency/ListController.php b/app/Api/V1/Controllers/Models/TransactionCurrency/ListController.php index 159a030472..3864806bb5 100644 --- a/app/Api/V1/Controllers/Models/TransactionCurrency/ListController.php +++ b/app/Api/V1/Controllers/Models/TransactionCurrency/ListController.php @@ -102,6 +102,7 @@ class ListController extends Controller // #11007 go to the end of the previous day. $this->parameters->set('start', $this->parameters->get('start')?->subSecond()); + // #11018 also end of the day. $this->parameters->set('end', $this->parameters->get('end')?->endOfDay()); // enrich diff --git a/changelog.md b/changelog.md index d7cc07996a..979ef9747e 100644 --- a/changelog.md +++ b/changelog.md @@ -12,6 +12,7 @@ Everything from v6.4.1, plus: - [Issue 11015](https://github.com/firefly-iii/firefly-iii/issues/11015) (Call to a member function subSecond() on null when viewing accounts) reported by @sirgio145 - [Issue 11016](https://github.com/firefly-iii/firefly-iii/issues/11016) (Undefined array key 1 when viewing subscriptions) reported by @anuneo +- #11018 ## 6.4.1 - 2025-10-07