mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-25 18:30:55 -06:00
Fix #4586
This commit is contained in:
parent
34f4b16a63
commit
472497cafd
@ -116,7 +116,7 @@ class IndexController extends Controller
|
||||
}
|
||||
$current = $array['pay_dates'][0] ?? null;
|
||||
if (null !== $current && !$nextExpectedMatch->isToday()) {
|
||||
$currentExpectedMatch = Carbon::createFromFormat('!Y-m-d', $current);
|
||||
$currentExpectedMatch = Carbon::createFromFormat(Carbon::ATOM, $current);
|
||||
$array['next_expected_match_diff'] = $currentExpectedMatch->diffForHumans(today(), Carbon::DIFF_RELATIVE_TO_NOW);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user