Skip to content

Commit

Permalink
[FIX]: time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
0923ule committed Oct 5, 2023
1 parent aeb2d3e commit 24712e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/LCK/snowTaxi2/SnowTaxi2Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Locale;
import java.util.TimeZone;

@SpringBootApplication
public class SnowTaxi2Application {
@PostConstruct
public void started() {
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
Locale.setDefault(Locale.KOREA);

}
public static void main(String[] args) {
Expand Down

0 comments on commit 24712e3

Please sign in to comment.