fix: add equal for today
This commit is contained in:
@@ -43,7 +43,7 @@ public function handle(): int
|
|||||||
->orWhere('repeatable', true)
|
->orWhere('repeatable', true)
|
||||||
->where(function ($inner) use ($now) {
|
->where(function ($inner) use ($now) {
|
||||||
$inner->whereNull('last_repeat')
|
$inner->whereNull('last_repeat')
|
||||||
->orWhereDate('last_repeat', '<', $now->toDateString());
|
->orWhereDate('last_repeat', '<=', $now->toDateString());
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user