Compare commits

..

No commits in common. "f0f78aa038ae5f2bb0feddad4e2cb23609299158" and "11da69f2b3c29566251ec64542fdc338f9a33c2b" have entirely different histories.

2 changed files with 2 additions and 2 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()->subDays(179);
$start = $latestReportedAt ? $latestReportedAt->copy() : $today->copy();
$days = $start->diffInDays($today, false);

View File

@ -52,7 +52,7 @@ class WaterQualityReportCommand extends Command
$data = [
'conductivity' => rand(560, 565),
'oxygen' => rand(1000, 1100) / 100,
'chlorine' => 0.09,
'chlorine' => rand(8, 10) / 100,
'turbidity' => rand(100000, 103000) / 100,
'temp' => null,
'ph' => rand(750, 760) / 100,