LocalDateTime返回的格式为 2019-10-15T20:46:45,处理json返回时间中带有T的情况
因为LocalDateTime默认使用的iso 时间格式:所以返回json的时候时间会出现T
/**
* The ISO date-time formatter that formats or parses a date-time without
* an offset, such as '2011-12-03T10:15:30'.
* <p>
...
原创
2019-08-22 16:09:02 ·
9187 阅读 ·
4 评论