mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 23:11:15 +00:00
[#1470] set user.lastCron to type=Date in model
This commit is contained in:
parent
0ccdb48751
commit
08f4d5fe20
1 changed files with 2 additions and 2 deletions
|
|
@ -143,8 +143,8 @@ var UserSchema = new Schema({
|
|||
/*FIXME store as Date?*/
|
||||
|
||||
lastCron: {
|
||||
type: Number,
|
||||
'default': +(new Date)
|
||||
type: Date,
|
||||
'default': new Date
|
||||
},
|
||||
/* FIXME remove?*/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue