This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
希望增加对Java8中的LocalDateTime等类的格式化支持,目前只是json为toString输出,谢谢 #612
Labels
Milestone
Comments
你的其他格式是怎样的?我刚增加了对"yyyy-MM-dd"格式的支持 |
wenshao
added a commit
that referenced
this issue
May 5, 2016
现在修改了,如果nano为0,缺省使用JSON.DEFFAULT_DATE_FORMAT的配置yyyy-MM-dd HH:mm:ss |
请问现在字符串转为JSON和JSON转为字符串都支持格式“yyyy-MM-dd HH:mm:ss”吗?还有就是您最新的commit我本地是怎样才能检出为jar呢?是删除以前的jar重新导入还是有另外的快照版本? 谢谢 |
fastjson是标准的maven工程,你可以执行如下命令获得最新的jar
|
fastjson当前在公网没有快照仓库,你只能自行编译 |
好的,下一个realease版本大概什么时候发布?我好到时更换为realease版本。 |
预计到6月初 |
好的,再次感谢 😂 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
对LocalDateTime等类的解析也仅仅调用了LocalDateTime.parse(text)
未支持不同格式的时间解析,希望增加,谢谢
https://github.com/alibaba/fastjson/blob/master/src/main/java/com/alibaba/fastjson/parser/deserializer/Jdk8DateCodec.java
The text was updated successfully, but these errors were encountered: