platform: Fix bytes format

This commit is contained in:
世界
2023-03-16 11:15:55 +08:00
parent 37cfd2d9d0
commit bbd1d02e66
2 changed files with 4 additions and 4 deletions

View File

@@ -17,5 +17,5 @@ func Version() string {
}
func FormatBytes(length int64) string {
return humanize.Bytes(uint64(length))
return humanize.IBytes(uint64(length))
}