Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议为FastJsonHttpMessageConverter增加dateFormatPattern变量注入 #418

Closed
xuanyuv opened this issue Sep 18, 2015 · 1 comment
Closed
Milestone

Comments

@xuanyuv
Copy link

xuanyuv commented Sep 18, 2015

当使用com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter进行fastjson与SpringMVC集成时,如果想自定义Date类型的Field序列化格式,目前只能参照FastJsonHttpMessageConverter自己写一个MessageConverter(默认的WriteDateUseDateFormat使用的是yyyy-MM-dd HH:mm:ss)。
我目前的集成方式详见https://github.com/jadyer/JadyerEngine/blob/master/JadyerEngine-web/src/main/resources/applicationContext.xml

@wenshao
Copy link
Member

wenshao commented Apr 13, 2016

supported. it will included in 1.2.9.

@wenshao wenshao closed this as completed Apr 13, 2016
asa1997 pushed a commit to Be-Secure/fastjson that referenced this issue Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants