From 1af9db8c4beb236ba06fa2e20a94c9c83d18c32e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 16 Dec 2013 22:07:09 -0800 Subject: [PATCH] Fix month off-by-one --- clientapp/models/message.js | 2 +- public/x-manifest.cache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientapp/models/message.js b/clientapp/models/message.js index 57261ea..36ac582 100644 --- a/clientapp/models/message.js +++ b/clientapp/models/message.js @@ -57,7 +57,7 @@ module.exports = HumanModel.define({ deps: ['created'], fn: function () { if (this.created) { - var month = this.created.getMonth(); + var month = this.created.getMonth() + 1; var day = this.created.getDate(); var hour = this.created.getHours(); var minutes = this.created.getMinutes(); diff --git a/public/x-manifest.cache b/public/x-manifest.cache index ab8790a..0bea588 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1387253893324 +# 0.0.1 1387260413951 CACHE: /app.js