combine mtime and ctime

This commit is contained in:
fyears 2022-03-06 23:15:59 +08:00
parent 9c830c2c14
commit 2e6848f901

View File

@ -301,7 +301,7 @@ const ensembleMixedStates = async (
r = { r = {
key: entry.path, key: entry.path,
existLocal: true, existLocal: true,
mtimeLocal: entry.stat.mtime, mtimeLocal: Math.max(entry.stat.mtime, entry.stat.ctime),
sizeLocal: entry.stat.size, sizeLocal: entry.stat.size,
}; };
} else if (entry instanceof TFolder) { } else if (entry instanceof TFolder) {