🔨 Change date format on "last backup"

This commit is contained in:
Sebastien Clement 2019-12-30 18:20:36 +01:00
parent 70336c385e
commit c5d0166cb8

View File

@ -149,7 +149,7 @@ class WebdavTools {
status.status = "idle";
status.message = null;
status.error_code = null;
status.last_backup = moment().format("lll")
status.last_backup = moment().format('MMM D, YYYY HH:mm')
statusTools.setStatus(status);
fs.unlinkSync('./temp/' + id + '.tar')
@ -166,6 +166,8 @@ class WebdavTools {
}
}