Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify CLI file size unit output #906

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

mathiasbynens
Copy link
Member

This patch clarifies that the file size output uses 1024-based calculations (KiB, MiB) instead of 1000-based ones (kB, MB). It also adds a space between the number and unit per the Unicode CLDR conventions (which can also be observed via the Intl.NumberFormat API).

Related (but out of scope for this patch): DevTools uses 1000-based calculations and units in its UI. Not sure if this is something you’d want to align on.

@google-cla google-cla bot added the CLA: Yes label Dec 10, 2020
@ziemek99
Copy link
Contributor

Should be closed because of #1321.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants