You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would also being able to use the standard IEC binary prefixes such as "Mi" and "Gi" instead of "M" and "G" in BinarySuffix functions and to use a localized suffix as in french we commonly use "o" instead of "B" (we use "octet(s)" instead of "byte(s)").
I can understand that replacing "GB" by "GiB" by default is counterintuitive as it's not the most commonly used spelling so it could be achieved adding another parameter or usng a "tweaked" locale.
The result could be something like this:
Hi @zebratrois sorry for my late response, I didnt have enough time to take care of this issue.
Idea sounds cool too me, we can do it adding third parameter into binarySuffix which gonna be
NumberHumanizer::binarySuffix(1073741824 * 2, 'fr', false); // "2 Go" last parameter gonna be false by defaultNumberHumanizer::binarySuffix(1073741824 * 2, 'fr', true); // "2 Gio"
I would also being able to use the standard IEC binary prefixes such as "Mi" and "Gi" instead of "M" and "G" in BinarySuffix functions and to use a localized suffix as in french we commonly use "o" instead of "B" (we use "octet(s)" instead of "byte(s)").
I can understand that replacing "GB" by "GiB" by default is counterintuitive as it's not the most commonly used spelling so it could be achieved adding another parameter or usng a "tweaked" locale.
The result could be something like this:
The text was updated successfully, but these errors were encountered: