diff --git a/app/Domains/Virtual/Commands/Sync/FlowPoolSync.php b/app/Domains/Virtual/Commands/Sync/FlowPoolSync.php index 63c4ccdf..b71c865a 100644 --- a/app/Domains/Virtual/Commands/Sync/FlowPoolSync.php +++ b/app/Domains/Virtual/Commands/Sync/FlowPoolSync.php @@ -78,14 +78,14 @@ class FlowPoolSync extends Command if (count($settings) === 1) { $start_at = '2000-01-01 00:00:00'; - $end_at = '3000-01-01 23:59:59'; + $end_at = '3000-01-31 23:59:59'; } else { if ($i === 0) { $start_at = '2000-01-01 00:00:00'; $end_at = $month->copy()->endOfMonth()->format('Y-m-d H:i:s'); } elseif ($i === count($settings) - 1) { $start_at = $month->copy()->startOfMonth()->format('Y-m-d H:i:s'); - $end_at = '3000-01-01 23:59:59'; + $end_at = '3000-01-31 23:59:59'; } else { $start_at = $month->copy()->startOfMonth()->format('Y-m-d H:i:s'); $end_at = $month->copy()->endOfMonth()->format('Y-m-d H:i:s');