From eb4dea6a3e466960a20c8dc2807a525e9969f94f Mon Sep 17 00:00:00 2001 From: Martin Scholz Date: Tue, 4 Apr 2017 15:50:49 +0200 Subject: [PATCH] Simplified get zone --- libbeat/processors/add_locale/add_locale.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/processors/add_locale/add_locale.go b/libbeat/processors/add_locale/add_locale.go index d66650ce8e5..3342458e6e6 100644 --- a/libbeat/processors/add_locale/add_locale.go +++ b/libbeat/processors/add_locale/add_locale.go @@ -16,7 +16,7 @@ func init() { } func newAddLocale(c common.Config) (processors.Processor, error) { - zone, _ := time.Now().In(time.Local).Zone() + zone, _ := time.Now().Zone() l := addLocale{timezone: zone}