platform: Display k based bytes

This commit is contained in:
世界
2026-01-08 22:11:40 +08:00
parent 549e68ead4
commit e3f9aa5ff9
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -71,11 +71,11 @@ func Version() string {
}
func FormatBytes(length int64) string {
return byteformats.FormatBytes(uint64(length))
return byteformats.FormatKBytes(uint64(length))
}
func FormatMemoryBytes(length int64) string {
return byteformats.FormatMemoryBytes(uint64(length))
return byteformats.FormatMemoryKBytes(uint64(length))
}
func FormatDuration(duration int64) string {