diff --git a/internal/server/ui/funcs.go b/internal/server/ui/funcs.go index 33d1260..3322590 100644 --- a/internal/server/ui/funcs.go +++ b/internal/server/ui/funcs.go @@ -221,23 +221,40 @@ func formatBytes(n int64) template.HTML { // "in 5m"-style. Accepts *time.Time or time.Time so templates can // pass either without fighting Go's lack of an address-of operator. // Anything else returns "—". -func formatRelTime(v any) string { +// +// The output is wrapped in a