mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:06:22 +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()) {
|
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