fix(dashboard): #163 month selection on first load
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m18s

This commit is contained in:
2025-06-16 12:52:49 +02:00
parent 6b8059889d
commit 00d7296dc2
3 changed files with 3 additions and 2 deletions

View File

@@ -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)