Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Dec 24, 2024
1 parent fb1d7f9 commit 67c7371
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sdk/go/pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 67c7371

Please sign in to comment.