Fixed bug where the time was the date

This commit is contained in:
Ben
2018-11-14 22:37:52 +00:00
parent 13290ce222
commit 742f73f2bd
2 changed files with 13 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function doStuff() {
});
}
const dateFormat = 'DD-MM-YY HH:MM:ss';
const dateFormat = 'DD-MM-YY HH:mm:ss';
function ConnectionRegained(timedown) {
let output = '[' + moment().format(dateFormat) + '] Connection regained after ' + timedown + 's of downtime';