Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell authored May 4, 2018
1 parent bcf79e6 commit c1fc6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron/tz.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type timezoneAwareSchedule struct {
}

func (schedule *timezoneAwareSchedule) Next(t time.Time) time.Time {
return schedule.underlingSchedule.Next(t.In(schedule.targetedTimezone))
return schedule.underlyingSchedule.Next(t.In(schedule.targetedTimezone))
}

// Wrap a schedule inside a timezoneAwareSchedule. timezone string
Expand Down

0 comments on commit c1fc6ae

Please sign in to comment.