From 0ddf2c3fb54a502e6b7614ba23c2ec8320260b8c Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 22 Oct 2024 19:25:41 +0800 Subject: [PATCH] :bug: The document tree creation time and update time are reversed https://github.com/siyuan-note/siyuan/issues/12874 --- kernel/model/push_reload.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/push_reload.go b/kernel/model/push_reload.go index 93bd457b4..083b58df5 100644 --- a/kernel/model/push_reload.go +++ b/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, }