1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-26 03:02:25 -05: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'], deps: ['created'],
fn: function () { fn: function () {
if (this.created) { if (this.created) {
var month = this.created.getMonth(); var month = this.created.getMonth() + 1;
var day = this.created.getDate(); var day = this.created.getDate();
var hour = this.created.getHours(); var hour = this.created.getHours();
var minutes = this.created.getMinutes(); var minutes = this.created.getMinutes();

View File

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