From 67c7371773d73c9e3c3550c51c05ea82eb9352de Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Mon, 23 Dec 2024 18:25:36 -0800 Subject: [PATCH] . --- sdk/go/pkg/utils/utils.go | 9 --------- 1 file changed, 9 deletions(-) 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.