fix(dashboard): #163 month selection on first load
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m18s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m18s
This commit is contained in:
@@ -81,7 +81,7 @@ func (handler IndexImpl) dashboard(user *types.User, htmx bool, r *http.Request)
|
||||
return nil, fmt.Errorf("could not parse timestamp: %w", service.ErrBadRequest)
|
||||
}
|
||||
} else {
|
||||
month = time.Now()
|
||||
month = time.Now().UTC()
|
||||
}
|
||||
|
||||
summary, err := handler.d.Summary(r.Context(), user, month)
|
||||
|
||||
Reference in New Issue
Block a user