mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Better call to date.
This commit is contained in:
@@ -84,7 +84,7 @@ class ShowController extends Controller
|
||||
|
||||
$array = $transformer->transform($recurrence);
|
||||
$groups = $this->recurring->getTransactions($recurrence);
|
||||
$today = new Carbon;
|
||||
$today = today(config('app.timezone'));
|
||||
$array['repeat_until'] = null !== $array['repeat_until'] ? new Carbon($array['repeat_until']) : null;
|
||||
|
||||
// transform dates back to Carbon objects:
|
||||
|
Reference in New Issue
Block a user