mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-08-18 21:54:56 +02:00
🔨 Change date format on "last backup"
This commit is contained in:
parent
70336c385e
commit
c5d0166cb8
@ -149,7 +149,7 @@ class WebdavTools {
|
|||||||
status.status = "idle";
|
status.status = "idle";
|
||||||
status.message = null;
|
status.message = null;
|
||||||
status.error_code = null;
|
status.error_code = null;
|
||||||
status.last_backup = moment().format("lll")
|
status.last_backup = moment().format('MMM D, YYYY HH:mm')
|
||||||
|
|
||||||
statusTools.setStatus(status);
|
statusTools.setStatus(status);
|
||||||
fs.unlinkSync('./temp/' + id + '.tar')
|
fs.unlinkSync('./temp/' + id + '.tar')
|
||||||
@ -166,6 +166,8 @@ class WebdavTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user