chore(backup-restore): using ctime for Windows compatibility
This commit is contained in:
parent
0bb0396754
commit
e7e37b3634
@ -73,7 +73,7 @@ export class Dumper extends AppMigrator {
|
|||||||
if (backupFileStat.isFile()) {
|
if (backupFileStat.isFile()) {
|
||||||
return {
|
return {
|
||||||
name: fileName,
|
name: fileName,
|
||||||
createdAt: backupFileStat.birthtime,
|
createdAt: backupFileStat.ctime,
|
||||||
fileSize: humanFileSize(backupFileStat.size),
|
fileSize: humanFileSize(backupFileStat.size),
|
||||||
status: 'ok',
|
status: 'ok',
|
||||||
} as BackUpStatusOk;
|
} as BackUpStatusOk;
|
||||||
|
Loading…
Reference in New Issue
Block a user