Skip to content

Commit

Permalink
Merge pull request #66 from dd-jiyun/main
Browse files Browse the repository at this point in the history
Timezone
  • Loading branch information
dd-jiyun authored Feb 19, 2024
2 parents ead7923 + 98f3943 commit a4ed786
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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"));
}
}

0 comments on commit a4ed786

Please sign in to comment.