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?*/
|
||||
|
||||
lastCron: {
|
||||
type: Number,
|
||||
'default': +(new Date)
|
||||
type: Date,
|
||||
'default': new Date
|
||||
},
|
||||
/* FIXME remove?*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user