exam index seed time average think about all active torrent

This commit is contained in:
xiaomlove
2026-02-01 13:52:49 +07:00
parent f07e0a5013
commit a712a3f1e4
21 changed files with 51 additions and 11 deletions

View File

@@ -235,6 +235,7 @@ class Exam extends NexusModel
public function getRecurringBegin(Carbon $time): Carbon
{
$time = $time->copy();
$recurring = $this->recurring;
if ($recurring == self::RECURRING_WEEKLY) {
return $time->startOfWeek();