Skip to content

Commit

Permalink
[DEV-34] 서버 타임존 변경 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
5uhwann authored Aug 14, 2024
1 parent 09d31ae commit c206a6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/codeowners
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @wonjunYou @5uhwann
* @wonjunYou @5uhwann @KoSeonJe
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
package ddingdong.ddingdongBE;

import java.util.TimeZone;
import javax.annotation.PostConstruct;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DdingdongBeApplication {

@PostConstruct
public void started() {
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
}

public static void main(String[] args) {
SpringApplication.run(DdingdongBeApplication.class, args);
}
Expand Down

0 comments on commit c206a6a

Please sign in to comment.