Removed unnecessary conversions
This commit is contained in:
parent
e918f4c576
commit
52cd0a2f09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user