Deep icon indicating copy to clipboard operation
Deep copied to clipboard

Add a human readable filesize method the File

Open tobz-nz opened this issue 11 years ago • 3 comments
trafficstars

Because nicities.

tobz-nz avatar Nov 20 '14 21:11 tobz-nz

What do you think about using a lib for getting human readable file size, like this one: https://github.com/coduo/php-humanizer

rsanchez avatar Nov 20 '14 22:11 rsanchez

Seems a bit overkill to me.

Ideally, this https://github.com/laravel/framework/pull/6459#issuecomment-63876375 will get merged and could then be used.

tobz-nz avatar Nov 20 '14 22:11 tobz-nz

Oooh that would be ideal. I'll keep an eye on that pull.

rsanchez avatar Nov 21 '14 00:11 rsanchez