Use IEC units for byte counting everywhere

This commit is contained in:
Nicola Murino
2021-02-12 22:16:35 +01:00
parent 6a6e8fffbc
commit 1ac66d27b6
3 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ func (v *BaseVirtualFolder) GetQuotaSummary() string {
var result string
result = "Files: " + strconv.Itoa(v.UsedQuotaFiles)
if v.UsedQuotaSize > 0 {
result += ". Size: " + utils.ByteCountSI(v.UsedQuotaSize)
result += ". Size: " + utils.ByteCountIEC(v.UsedQuotaSize)
}
if v.LastQuotaUpdate > 0 {
t := utils.GetTimeFromMsecSinceEpoch(v.LastQuotaUpdate)