Removed SizeFmt. (#17890)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
03ec9e5060
commit
6ceef87671
5 changed files with 5 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue