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

修复在JodaCodec中 write 指定 SerializerFeature WriteDateUseDateFormat 无效的问题 #3287 #3288

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

ZivYan
Copy link
Contributor

@ZivYan ZivYan commented Jun 22, 2020

原先的代码在 JavaCodec 中在serializer.isEnabled(SerializerFeature.WriteDateUseDateFormat) 的时候 format 永远为非空,所以永远走不进 当前判断,所以JSON.DEFFAULT_DATE_FORMAT; 无法实现

@wenshao wenshao merged commit 2646f10 into alibaba:master Jun 25, 2020
wenshao added a commit that referenced this pull request Sep 14, 2020
Applying modification pattern in #3288 to Jdk8DateCodec#write
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

Successfully merging this pull request may close these issues.

None yet

2 participants