mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Added test to recreate early cron issue (#9668)
* Added test to recreate early cron issue * Gave user extra time based on reverse timezone change
This commit is contained in:
@@ -47,7 +47,6 @@ function sanitizeOptions (o) {
|
||||
}
|
||||
|
||||
let now = o.now ? moment(o.now).zone(timezoneOffset) : moment().zone(timezoneOffset);
|
||||
|
||||
// return a new object, we don't want to add "now" to user object
|
||||
return {
|
||||
dayStart,
|
||||
|
||||
Reference in New Issue
Block a user