Commit ea4c9ae3 authored by Birger Schmidt's avatar Birger Schmidt

fix TimePeriods tests to test in Local timezone

parent 73fc64e3
......@@ -26,7 +26,7 @@ func newTimePeriods(t *testing.T) (time.Time, *TimePeriod) {
dayName := daysOfWeek[day]
periodPattern := fmt.Sprintf("* %d %d * * %s *", minute, hour, dayName)
timePeriods, err := TimePeriods([]string{periodPattern}, "Europe/Berlin")
timePeriods, err := TimePeriods([]string{periodPattern}, "Local")
assert.NoError(t, err)
return now, timePeriods
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment