Browse Source

:bug: The document tree creation time and update time are reversed https://github.com/siyuan-note/siyuan/issues/12874

Daniel 8 tháng trước cách đây
mục cha
commit
0ddf2c3fb5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      kernel/model/push_reload.go

+ 2 - 2
kernel/model/push_reload.go

@@ -92,8 +92,8 @@ func refreshDocInfo0(tree *parse.Tree, size uint64) {
 		"hSize":        humanize.BytesCustomCeil(size, 2),
 		"mtime":        mTime.Unix(),
 		"ctime":        cTime.Unix(),
-		"hMtime":       cTime.Format("2006-01-02 15:04:05") + ", " + util.HumanizeTime(mTime, Conf.Lang),
-		"hCtime":       mTime.Format("2006-01-02 15:04:05") + ", " + util.HumanizeTime(cTime, Conf.Lang),
+		"hMtime":       mTime.Format("2006-01-02 15:04:05") + ", " + util.HumanizeTime(mTime, Conf.Lang),
+		"hCtime":       cTime.Format("2006-01-02 15:04:05") + ", " + util.HumanizeTime(cTime, Conf.Lang),
 		"subFileCount": subFileCount,
 	}