This commit is contained in:
James Cole
2020-12-30 19:25:53 +01:00
parent fc4f35d6ba
commit e6fd8324e2

View File

@@ -83,7 +83,7 @@ class HomeController extends Controller
Log::debug('Range is now marked as "custom".');
}
$diff = $start->diffInDays($end);
$diff = $start->diffInDays($end) + 1;
if ($diff > 50) {
$request->session()->flash('warning', (string) trans('firefly.warning_much_data', ['days' => $diff]));