diff --git a/date/date.go b/date/date.go index fe4f70e..3b8213f 100644 --- a/date/date.go +++ b/date/date.go @@ -3,5 +3,9 @@ package date import "time" func Today() int { - return int(time.Now().Weekday()) + location, err := time.LoadLocation("Asia/Novosibirsk") + if err != nil { + panic(err) + } + return int(time.Now().In(location).Weekday()) }