Skip to content

Commit 4504344

Browse files
committed
chore: #28 서버의 timezone을 "Asia/Seoul"로 설정
1 parent e6fab22 commit 4504344

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/ajou/hertz/HertzApplication.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.ajou.hertz;
22

3+
import java.util.TimeZone;
4+
35
import org.springframework.boot.SpringApplication;
46
import org.springframework.boot.autoconfigure.SpringBootApplication;
57
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
@@ -12,6 +14,8 @@ public class HertzApplication {
1214

1315
public static void main(String[] args) {
1416
SpringApplication.run(HertzApplication.class, args);
17+
18+
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
1519
}
1620

1721
}

0 commit comments

Comments
 (0)