diff options
Diffstat (limited to 'src/server/index.js')
-rw-r--r-- | src/server/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/index.js b/src/server/index.js index c34e9d6..582d482 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -42,7 +42,7 @@ function consumeMessage(res){ } } function dateToString(d){ - return `${d.getFullYear().toString()}/${d.getMonth().toString()}/${d.getDate().toString()}` + return `${d.getFullYear().toString()}/${(d.getMonth()+1).toString()}/${d.getDate().toString()}` } function setUpRoutes(models, jwtFunctions, database, templates) { |