Browse Source

Merge branch 'V20211101' of git.openi.org.cn:OpenI/aiforge into sync_failed_status

tags/v1.21.12.1
lewis 4 years ago
parent
commit
97e520ced2
1 changed files with 1 additions and 1 deletions
  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