mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 09:12:19 -05:00
Fix month off-by-one
This commit is contained in:
parent
4f86cc56d1
commit
1af9db8c4b
@ -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();
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# 0.0.1 1387253893324
|
||||
# 0.0.1 1387260413951
|
||||
|
||||
CACHE:
|
||||
/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user