mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 23:46:14 +02:00
Removed SizeFmt. (#17890)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
1 parent
03ec9e5060
commit
6ceef87671
5 files changed
+5
-6
No files matched your search
@@ -125,7 +125,6 @@ func NewFuncMap() []template.FuncMap {
|
||||
"DateFmtShort": func(t time.Time) string {
|
||||
return t.Format("Jan 02, 2006")
|
||||
},
|
||||
"SizeFmt": base.FileSize,
|
||||
"CountFmt": base.FormatNumberSI,
|
||||
"SubStr": func(str string, start, length int) string {
|
||||
if len(str) == 0 {
|
||||
|
||||
Reference in new issue
Block a user