From f37115d88ebeb2d9c4f9d23c0193b74882f7c7a2 Mon Sep 17 00:00:00 2001 From: Adam0 Date: Wed, 15 Jul 2026 22:17:14 -0400 Subject: [PATCH] Use Gib and Tib instead of TB and GB --- config/statistics.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/statistics.yml b/config/statistics.yml index b50bcef..9708fe4 100644 --- a/config/statistics.yml +++ b/config/statistics.yml @@ -359,14 +359,14 @@ {{ define "formatGigabytes" }} {{ $value := . }} - {{ $label := "GB" }} + {{ $label := "GiB" }} {{- if lt $value 1.0 }} - {{ $value = mul $value 1000.0 }} - {{ $label = "MB" }} - {{- else if lt $value 1000.0 }} + {{ $value = mul $value 1024.0 }} + {{ $label = "MiB" }} + {{- else if lt $value 1024.0 }} {{ else }} - {{ $value = div $value 1000.0 }} - {{ $label = "TB" }} + {{ $value = div $value 1024.0 }} + {{ $label = "TiB" }} {{ end }} {{ printf "%.1f" $value }} {{ $label }} {{ end }} -- 2.51.2