1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-08-13 17:03:51 -04:00

Fix month off-by-one

This commit is contained in:
Lance Stout 2013-12-16 22:07:09 -08:00
parent 4f86cc56d1
commit 1af9db8c4b
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# 0.0.1 1387253893324
# 0.0.1 1387260413951
CACHE:
/app.js