Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -698,7 +699,8 @@ private Battle newBattle() {
.summary("요약")
.description("설명")
.thumbnailUrl("https://img/class.png")
.targetDate(LocalDate.now())
// 서버는 KST 기준으로 오늘 배틀인지 본다. 시스템 시간대(CI 는 UTC)를 쓰면 KST 오전에 날짜가 어긋난다
.targetDate(LocalDate.now(ZoneId.of("Asia/Seoul")))
.status(BattleStatus.PUBLISHED)
.creatorType(BattleCreatorType.ADMIN)
.build());
Expand Down
Loading