mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix attendance calendar do not show last day of monty
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user