Fixed bug where the time was the date
This commit is contained in:
@@ -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';
|
||||
|
||||
13
logs.log
13
logs.log
@@ -1,2 +1,13 @@
|
||||
[13-11-18 07:11:34] Connection regained after 41s of downtime
|
||||
NEW SESSIONNEW SESSION
|
||||
NEW SESSION
|
||||
[13-11-18 10:11:38] Lost Connection
|
||||
[13-11-18 10:11:19] Connection regained after 41s of downtime
|
||||
[13-11-18 20:11:10] Lost Connection
|
||||
[13-11-18 20:11:02] Connection regained after 40s of downtime
|
||||
[13-11-18 20:11:04] Lost Connection
|
||||
[13-11-18 23:11:46] Lost Connection
|
||||
[13-11-18 23:11:39] Connection regained after 40s of downtime
|
||||
[14-11-18 07:11:12] Lost Connection
|
||||
[14-11-18 07:11:52] Connection regained after 40s of downtime
|
||||
[14-11-18 07:11:38] Lost Connection
|
||||
[14-11-18 07:11:19] Connection regained after 42s of downtime
|
||||
|
||||
Reference in New Issue
Block a user