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

This commit is contained in:
Daniel 2024-10-22 19:25:41 +08:00
parent 8dd0629b9c
commit 0ddf2c3fb5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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,
}