main
Jing Li 2024-06-03 19:43:23 +08:00
parent 23745ee118
commit f0f78aa038
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class WormStatisticsSyncCommand extends Command
$latestReportedAt = WormReport::where('device_id', $device->id)->latest('reported_at')->value('reported_at');
$start = $latestReportedAt ? $latestReportedAt->copy() : $today->copy();
$start = $latestReportedAt ? $latestReportedAt->copy() : $today->copy()->subDays(179);
$days = $start->diffInDays($today, false);