diff --git a/main.go b/main.go index 51f9f00..9313e84 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,6 @@ package main import ( "fmt" "os" - "time" _ "time/tzdata" "github.com/rs/zerolog" @@ -29,15 +28,6 @@ func main() { // Default level for this example is info, unless debug flag is present zerolog.SetGlobalLevel(zerolog.InfoLevel) - // Load timezone location based on TZ - tzone, _ := time.Now().Zone() - loc, err := time.LoadLocation(tzone) - if err != nil { - log.Info().Msgf("ftw/main: cannot load timezone") - } else { - time.Local = loc // -> set the global timezone - } - cmd.Execute( buildVersion(version, commit, date, builtBy), )