diff options
| -rw-r--r-- | services/app/src/Models/Quiz.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/app/src/Models/Quiz.php b/services/app/src/Models/Quiz.php index 5546646..5e2cda6 100644 --- a/services/app/src/Models/Quiz.php +++ b/services/app/src/Models/Quiz.php @@ -55,7 +55,8 @@ final class Quiz if ($now === null) { $now = new DateTimeImmutable('now', new DateTimeZone('UTC')); } - return $this->ranking_hidden_at <= $now && !$this->isFinished($now); + $rankingShownAgainAt = $this->finished_at->modify('+90 minutes'); + return $this->ranking_hidden_at <= $now && $now < $rankingShownAgainAt; } public static function create( |
