We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74e652 commit a87a497Copy full SHA for a87a497
1 file changed
internal/schedule/schedule.go
@@ -12,7 +12,7 @@ import (
12
// Occurrences returns all occurrence dates for a rule between startDate and endDate.
13
func Occurrences(def config.RuleSchedule, startDate, endDate time.Time, tz *time.Location, anchor *time.Time) []time.Time {
14
if tz == nil {
15
- tz = time.Local
+ tz = time.UTC
16
}
17
18
start := timeutil.DateAt(startDate.In(tz))
0 commit comments