Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

修复在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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants