fix typo and logging bug

This commit is contained in:
Asraelite 2016-03-28 11:29:28 +01:00
parent c5972031ac
commit 2ae3d43354
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class ServerInterface {
let d = new Date();
let date =
`${pad(d.getUTCFullYear(), 2)}-` +
`${pad(d.getUTCMonth(), 2)}-` +
`${pad(d.getUTCMonth() + 1, 2)}-` +
`${pad(d.getUTCDate(), 2)}`;
return 'log/' + date + '.log';
}