This project is archived and is in readonly mode.
number_to_human_size broken if current locale doesn't define number.format.separator or number.human.format.separator
-
Mihai Târnovan
Here's a patch. Sorry, but I don't use git (yes), so I'll attach a diff. This patch also allows storage units to be translated.
-
josh
- State changed from new to incomplete
Can you please add some unit tests to the patch.
Also, I'd keep the STORAGE_UNITS constant.
-
Mihai Târnovan
This has been already fixed by #1448 Add i18n for number_to_human_size() storage units, please close.
-
josh
- State changed from incomplete to committed