mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Improve disk usage display https://github.com/siyuan-note/siyuan/issues/11121
This commit is contained in:
parent
7949cfa1bc
commit
ffb44137f2
7 changed files with 27 additions and 27 deletions
|
|
@ -82,7 +82,7 @@ func statAsset(c *gin.Context) {
|
|||
|
||||
ret.Data = map[string]interface{}{
|
||||
"size": info.Size(),
|
||||
"hSize": humanize.Bytes(uint64(info.Size())),
|
||||
"hSize": humanize.BytesCustomCeil(uint64(info.Size()), 2),
|
||||
"created": created,
|
||||
"hCreated": hCreated,
|
||||
"updated": updated,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue