mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
[#1470] set user.lastCron to type=Date in model
This commit is contained in:
@@ -143,8 +143,8 @@ var UserSchema = new Schema({
|
|||||||
/*FIXME store as Date?*/
|
/*FIXME store as Date?*/
|
||||||
|
|
||||||
lastCron: {
|
lastCron: {
|
||||||
type: Number,
|
type: Date,
|
||||||
'default': +(new Date)
|
'default': new Date
|
||||||
},
|
},
|
||||||
/* FIXME remove?*/
|
/* FIXME remove?*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user