diff --git a/README.md b/README.md index 80194e9..97cb3ee 100644 --- a/README.md +++ b/README.md @@ -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. -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 diff --git a/server/interface.js b/server/interface.js index 2e0b098..8ce3c4d 100644 --- a/server/interface.js +++ b/server/interface.js @@ -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'; }