31
This commit is contained in:
parent
fa517627c6
commit
7c6238c3e7
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user