Skip to content

Commit

Permalink
refactor(serialization): timezone 설정 제거
Browse files Browse the repository at this point in the history
Co-authored-by: hoeseong123 <[email protected]>
  • Loading branch information
zangsu and HoeSeong123 committed Jul 23, 2024
1 parent 56a8a77 commit e5965d5
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ public class DateTimeFormatConfiguration {

@Bean
public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() {
return jacksonObjectMapperBuilder -> {
jacksonObjectMapperBuilder.timeZone(TimeZone.getTimeZone("UTC"));
jacksonObjectMapperBuilder.serializers(
new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT)));
};
return jacksonObjectMapperBuilder -> jacksonObjectMapperBuilder.serializers(
new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT)));
}
}

0 comments on commit e5965d5

Please sign in to comment.