瀏覽代碼

返回时区异常修改,技术助手修改BUG修复

anderx 1 年之前
父節點
當前提交
14750c5588
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/model/PublicReleaseDateClock.java

+ 1 - 1
src/main/java/com/goafanti/common/model/PublicReleaseDateClock.java

@@ -101,7 +101,7 @@ public class PublicReleaseDateClock implements Serializable {
     /**
      * 打卡时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd")
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     public Date getClockInTime() {
         return clockInTime;
     }