allow cron to record user's current timezone offset in preferences.timezoneOffsetAtLastCron (initial stage of cron timezone fix for https://github.com/HabitRPG/habitrpg/issues/3806 )

This commit is contained in:
Alys
2016-03-29 19:06:15 +10:00
parent f4b43f55f0
commit ae9e6fbe30
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -350,6 +350,7 @@ var UserSchema = new Schema({
skin: {type:String, 'default':'915533'},
shirt: {type: String, 'default': 'blue'},
timezoneOffset: Number,
timezoneOffsetAtLastCron: Number,
sound: {type:String, 'default':'off', enum: ['off', 'danielTheBard', 'gokulTheme', 'luneFoxTheme', 'wattsTheme']},
language: String,
automaticAllocation: Boolean,