This commit is contained in:
邓皓元 2019-04-19 15:18:41 +08:00
parent 365bcc8dde
commit 0c7e4b862e

View File

@ -88,7 +88,7 @@ class FlowPoolSync extends Command
if ($i !== count($settings) - 1) {
$nextMonth = substr_replace($settings[$i+1]['year_month'], '-', 4, 0);
$end_at = Carbon::parse($nextMonth)->endOfMonth()->format('Y-m-d H:i:s');
$end_at = Carbon::parse($nextMonth)->subMonth()->endOfMonth()->format('Y-m-d H:i:s');
} else {
$end_at = '3000-01-31 23:59:59';
}