diff --git a/app/Http/Controllers/Bill/IndexController.php b/app/Http/Controllers/Bill/IndexController.php index 559b86845b..6acec42889 100644 --- a/app/Http/Controllers/Bill/IndexController.php +++ b/app/Http/Controllers/Bill/IndexController.php @@ -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); }