We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 473feb2 + cba2ba3 commit 492783dCopy full SHA for 492783d
backend/src/main/java/com/example/backend/auth/config/ProjectConfig.java
@@ -12,6 +12,8 @@
12
import org.springframework.web.servlet.config.annotation.CorsRegistry;
13
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
14
15
+import java.util.TimeZone;
16
+
17
18
@Configuration
19
public class ProjectConfig implements WebMvcConfigurer {
@@ -39,6 +41,7 @@ public ObjectMapper objectMapper() {
39
41
// Java 8 날짜/시간 모듈 등록
40
42
mapper.registerModule(javaTimeModule);
43
mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
44
+ mapper.setTimeZone(TimeZone.getTimeZone("Asia/Seoul"));
45
46
return mapper;
47
}
0 commit comments