vendor/github.com/spf13/cast/cast.go
changeset 260 445e01aede7e
parent 251 1c52a0eeb952
--- 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)