mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
use mtime instead of ctime for backups #4321
This commit is contained in:
@@ -21,7 +21,7 @@ function getExistingBackups() {
|
||||
const filePath = path.resolve(dataDir.BACKUP_DIR, fileName);
|
||||
const stat = fs.statSync(filePath)
|
||||
|
||||
return {fileName, filePath, ctime: stat.ctime};
|
||||
return {fileName, filePath, mtime: stat.mtime};
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user