mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 03:19:36 +08:00
🎨 Assets stat in IBytes https://github.com/siyuan-note/siyuan/issues/13374
This commit is contained in:
parent
3d5c08e8b1
commit
66d7a6cd25
@ -86,7 +86,7 @@ func statAsset(c *gin.Context) {
|
|||||||
|
|
||||||
ret.Data = map[string]interface{}{
|
ret.Data = map[string]interface{}{
|
||||||
"size": info.Size(),
|
"size": info.Size(),
|
||||||
"hSize": humanize.BytesCustomCeil(uint64(info.Size()), 2),
|
"hSize": humanize.IBytesCustomCeil(uint64(info.Size()), 2),
|
||||||
"created": created,
|
"created": created,
|
||||||
"hCreated": hCreated,
|
"hCreated": hCreated,
|
||||||
"updated": updated,
|
"updated": updated,
|
||||||
|
Loading…
Reference in New Issue
Block a user