diff --git a/src/main/java/com/efub/dhs/DhsApplication.java b/src/main/java/com/efub/dhs/DhsApplication.java index f072094..c48f0b9 100644 --- a/src/main/java/com/efub/dhs/DhsApplication.java +++ b/src/main/java/com/efub/dhs/DhsApplication.java @@ -1,5 +1,9 @@ package com.efub.dhs; +import java.util.TimeZone; + +import javax.annotation.PostConstruct; + import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.openfeign.EnableFeignClients; @@ -14,4 +18,8 @@ public static void main(String[] args) { SpringApplication.run(DhsApplication.class, args); } + @PostConstruct + public void setTimeZone() { + TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul")); + } }