fix attendance calendar do not show last day of monty

This commit is contained in:
xiaomlove
2022-04-30 16:03:07 +08:00
parent 4b24cebf12
commit 95af63e89a
4 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class ExamUpdateProgress extends Command
*
* @var string
*/
protected $signature = 'exam:update_progress {--uid} {--bulk}';
protected $signature = 'exam:update_progress {--uid=} {--bulk=}';
/**
* The console command description.

View File

@@ -126,7 +126,8 @@ class Test extends Command
// $r = $rep->getContinuousDays($attendance);
// $r = $rep->getContinuousPoints(11);
$r = NexusDB::getAll('users', 'id = 1');
$today = Carbon::today();
$r = $today->endOfMonth();
dd($r);
}