会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
~泊水~
博客园
首页
新随笔
联系
订阅
管理
2020年5月11日
java-时间格式转换
摘要: @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8") pattern:是你需要转换的时间日期的格式 timezone:是时间设置为东八区,避免时间在转换中有误差 @DateTimeFormat(pattern = "yyyy-MM-dd") @Js
阅读全文
posted @ 2020-05-11 18:43 LJD泊水
阅读(2041)
评论(0)
推荐(0)
编辑