diff --git a/cmd/dashboard/controller/controller.go b/cmd/dashboard/controller/controller.go index d80f9e5..4c3d797 100644 --- a/cmd/dashboard/controller/controller.go +++ b/cmd/dashboard/controller/controller.go @@ -45,7 +45,7 @@ func ServeWeb(port uint) *http.Server { return time.Duration(time.Duration(duration) * time.Second).String() }, "sft": func(future time.Time) string { - return time.Until(future).String() + return time.Until(future).Round(time.Second).String() }, "bf": func(b uint64) string { return bytefmt.ByteSize(b)