From 0274f474338fad09b1414a608aad4a077a45453d Mon Sep 17 00:00:00 2001 From: bodqhrohro Date: Thu, 12 Dec 2019 02:24:35 +0200 Subject: [PATCH] lint --- persistence/sessions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/persistence/sessions.go b/persistence/sessions.go index efb32d3..66857f1 100644 --- a/persistence/sessions.go +++ b/persistence/sessions.go @@ -120,6 +120,7 @@ func (s *Session) Set(key string, value string) (string, error) { return "", errors.New("Unknown session property") } +// TimezoneToLocation tries to convert config timezone to location func (s *Session) TimezoneToLocation() *time.Location { time, err := time.Parse("-07:00", s.Timezone) if err == nil {