Removed unnecessary conversions

This commit is contained in:
Eduard Urbach 2019-06-07 08:56:06 +09:00
parent e918f4c576
commit 52cd0a2f09
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -137,7 +137,7 @@ func Profile(ctx aero.Context, viewUser *arn.User) error {
now := time.Now().UTC().Add(timeZoneOffset)
weekDay := int(now.Weekday())
currentYearDay := int(now.YearDay())
currentYearDay := now.YearDay()
// Day offset is the number of days we need to reach Sunday
dayOffset := 0