diff --git a/sdk/go/pkg/utils/utils.go b/sdk/go/pkg/utils/utils.go index be6bb347..d6be3f60 100644 --- a/sdk/go/pkg/utils/utils.go +++ b/sdk/go/pkg/utils/utils.go @@ -15,17 +15,8 @@ import ( "errors" "fmt" "strconv" - "time" ) -func GetLocalTime(tz string) time.Time { - loc, err := time.LoadLocation(tz) - if err != nil { - return time.Now() - } - return time.Now().In(loc) -} - // JsonSerialize serializes the given value to JSON. // Unlike json.Marshal, it does not escape HTML characters. // It also returns results without an extra newline at the end.