#576 fix issue #492

Merged
lewis merged 1 commits from fix-472 into V20211101 2 years ago
  1. +1
    -1
      modules/base/tool.go

+ 1
- 1
modules/base/tool.go View File

@@ -224,7 +224,7 @@ func SizedAvatarLinkWithDomain(email string, size int) string {

// FileSize calculates the file size and generate user-friendly string.
func FileSize(s int64) string {
return humanize.IBytes(uint64(s))
return humanize.Bytes(uint64(s))
}

// PrettyNumber produces a string form of the given number in base 10 with


Loading…
Cancel
Save