diff --git a/Titto_Backend/src/main/java/com/example/titto_backend/TittoBackendApplication.java b/Titto_Backend/src/main/java/com/example/titto_backend/TittoBackendApplication.java index e947527..964fbab 100644 --- a/Titto_Backend/src/main/java/com/example/titto_backend/TittoBackendApplication.java +++ b/Titto_Backend/src/main/java/com/example/titto_backend/TittoBackendApplication.java @@ -1,5 +1,7 @@ package com.example.titto_backend; +import jakarta.annotation.PostConstruct; +import java.util.TimeZone; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; @@ -8,8 +10,12 @@ @SpringBootApplication public class TittoBackendApplication { - public static void main(String[] args) { - SpringApplication.run(TittoBackendApplication.class, args); - } + public static void main(String[] args) { + SpringApplication.run(TittoBackendApplication.class, args); + } -} + @PostConstruct + public void started() { + TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul")); + } +} \ No newline at end of file