mirror of
https://github.com/taigrr/most-specific-period.git
synced 2026-04-02 03:38:41 -07:00
updates to changeover and tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user