fix typo and logging bug
This commit is contained in:
parent
c5972031ac
commit
2ae3d43354
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ This is a stupid little game where you fly around and bump into asteroids and st
|
||||||
|
|
||||||
Clone the Git repository, install Node.js version 5.6.0 or higher then run `npm install` in the project directory.
|
Clone the Git repository, install Node.js version 5.6.0 or higher then run `npm install` in the project directory.
|
||||||
|
|
||||||
Make sure that the command `node` links to this Node..js version and not `nodejs`.
|
Make sure that the command `node` links to this Node.js version and not `nodejs`.
|
||||||
|
|
||||||
###Running
|
###Running
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ class ServerInterface {
|
||||||
let d = new Date();
|
let d = new Date();
|
||||||
let date =
|
let date =
|
||||||
`${pad(d.getUTCFullYear(), 2)}-` +
|
`${pad(d.getUTCFullYear(), 2)}-` +
|
||||||
`${pad(d.getUTCMonth(), 2)}-` +
|
`${pad(d.getUTCMonth() + 1, 2)}-` +
|
||||||
`${pad(d.getUTCDate(), 2)}`;
|
`${pad(d.getUTCDate(), 2)}`;
|
||||||
return 'log/' + date + '.log';
|
return 'log/' + date + '.log';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue