We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 483e70b commit d5c1070Copy full SHA for d5c1070
src/main/kotlin/org/gitanimals/quiz/domain/context/QuizSolveContextService.kt
@@ -19,7 +19,7 @@ class QuizSolveContextService(
19
category: Category,
20
quizs: List<Quiz>,
21
): QuizSolveContext {
22
- val now = LocalDate.ofInstant(instant(), ZoneId.of("UTC"))
+ val now = LocalDate.ofInstant(instant(), ZoneId.of("Asia/Seoul"))
23
quizSolveContextRepository.findQuizSolveContextByUserIdAndSolvedAt(userId, now)?.let {
24
throw IllegalArgumentException("Already solve daily quiz.")
25
}
0 commit comments