[BUG]@JSONField格式化LocalDateTime的BUG
Open
bug
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 问题描述
使用@JSONType(serializeFeatures = {JSONWriter.Feature.WriteNonStringValueAsString, JSONWriter.Feature.WriteNullStringAsEmpty})
导致@JSONField(format = "yyyy-MM-dd HH:mm:ss") 格式化LocalDateTime失效
输出为:2024-06-17T01:31:19.148327800
期望为:2024-06-17 01:31:19
FastJson2版本为:2.0.49
Contributor guide
Assessment
This issue has not been assessed yet.