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:
Keith Holliday
2017-12-14 09:09:11 -06:00
committed by GitHub
parent b0ebdfeb65
commit 05640f513e
3 changed files with 50 additions and 2 deletions

View File

@@ -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,