From d60da459ac4692e42b12848dcea8507900bfe9f5 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 31 Mar 2022 18:22:20 +0400 Subject: [PATCH] This way returns look just prettier. --- pkg/utils/dwelling.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/utils/dwelling.go b/pkg/utils/dwelling.go index 789e995..5e18eb2 100644 --- a/pkg/utils/dwelling.go +++ b/pkg/utils/dwelling.go @@ -27,7 +27,7 @@ func ToClientTimezone(t time.Time, r *http.Request) time.Time { return t.UTC() } return t.In(loc) - } else { - return t.UTC() } + + return t.UTC() }