mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 02:40:54 +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{}{
|
||||
"size": info.Size(),
|
||||
"hSize": humanize.BytesCustomCeil(uint64(info.Size()), 2),
|
||||
"hSize": humanize.IBytesCustomCeil(uint64(info.Size()), 2),
|
||||
"created": created,
|
||||
"hCreated": hCreated,
|
||||
"updated": updated,
|
||||
|
Loading…
Reference in New Issue
Block a user