You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
FastJson 1.2.68版本在toJSONStringWithDateFormat时,会将java.sql.date默认处理成数据库存储格式yyyy-MM-dd,但是升级到1.2.83后,java.sql.date会受传参SerializerFeature.WriteDateUseDateFormat的格式进行格式化,经查看是有人提了issue #3473,使java.sql.date的格式化会跟随SerializerFeature.WriteDateUseDateFormat的格式进行格式化,但是当查询数据中的时间类型既有日期也有日期时间的时候,希望在格式化的时候,java.sql.date不受SerializerFeature.WriteDateUseDateFormat的格式控制,默认格式化为数据库存储格式yyyy-MM-dd,java.sql.datetime受SerializerFeature.WriteDateUseDateFormat的格式控制,格式化为yyyy-MM-dd HH:mm:ss,当前是无法实现的,期望可以增加一个参数,控制java.sql.date是否受SerializerFeature.WriteDateUseDateFormat的格式控制
The text was updated successfully, but these errors were encountered: