diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index 7f64f2b5..e458d55d 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -2,6 +2,7 @@ package cli import ( "os" + "time" log "github.com/sirupsen/logrus" "github.com/urfave/cli" @@ -20,7 +21,7 @@ var app *App func Run(v string) error { // force all times in UTC, regardless of server timezone - os.Setenv("TZ", "") + time.Local = time.UTC // setup CLI app app = &App{cli.NewApp(), nil, nil}