diff -r db4911b0c721 -r 445e01aede7e vendor/github.com/spf13/cast/cast.go --- a/vendor/github.com/spf13/cast/cast.go Tue Aug 23 22:33:28 2022 +0200 +++ b/vendor/github.com/spf13/cast/cast.go Tue Aug 23 22:39:43 2022 +0200 @@ -20,6 +20,11 @@ return v } +func ToTimeInDefaultLocation(i interface{}, location *time.Location) time.Time { + v, _ := ToTimeInDefaultLocationE(i, location) + return v +} + // ToDuration casts an interface to a time.Duration type. func ToDuration(i interface{}) time.Duration { v, _ := ToDurationE(i)