updates to changeover and tests

This commit is contained in:
2022-04-03 22:33:50 -07:00
parent 0f88864200
commit 88ce350a61
5 changed files with 312 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ func GetNextChangeOver(t time.Time, periods ...Period) (ts time.Time, err error)
return ts, nil
}
}
return time.Unix(0, 0), ErrNoNextChangeover
return time.Time{}, ErrNoNextChangeover
}
func FlattenPeriods(periods ...Period) (ids []string) {