解决日期展示问题(返回的json中日期的格式是:"birthday":"1988-08-07T15:00:00.000+0000");需要转化成指定的格式(年月日时分秒格式)

在application.properties中添加如下配置,即可解决日期展示问题

#时间戳统一转换
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-12-25
  • 2022-01-19
  • 2021-07-06
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-11-22
  • 2021-10-10
  • 2021-06-17
相关资源
相似解决方案