mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
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()) {
|
||||
return {
|
||||
name: fileName,
|
||||
createdAt: backupFileStat.birthtime,
|
||||
createdAt: backupFileStat.ctime,
|
||||
fileSize: humanFileSize(backupFileStat.size),
|
||||
status: 'ok',
|
||||
} as BackUpStatusOk;
|
||||
|
Loading…
Reference in New Issue
Block a user