mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
exam index seed time average think about all active torrent
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user