Wrong units for file zize

RESOLVED FIXED

Status

Webtools
Air Mozilla
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: Tad, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

a year ago
During upload, air mozilla is reporting a 2GB file as being 2Gb, and similarly, 126MB completed as 126Mb completed.

These abbreviations should be changed as they represent different units
(Assignee)

Comment 1

a year ago
What's wrong with "Gb" and "Mb"?
Component: Other → Air Mozilla
Product: Air Mozilla → Webtools
Version: unspecified → other
(Reporter)

Comment 2

a year ago
Gb = Gigabit
GB = Gigabyte

Mb = Megabit
MB = Megabyte

My file is 2 Gigabytes, not 2 Gigabits
(Assignee)

Comment 3

a year ago
(In reply to Tom Farrow [:Tad] from comment #2)
> Gb = Gigabit
> GB = Gigabyte
> 
> Mb = Megabit
> MB = Megabyte
> 
> My file is 2 Gigabytes, not 2 Gigabits

I see! 
I didn't know that. I wonder what library we use.
Assignee: nobody → peterbe
(Assignee)

Comment 4

a year ago
Created attachment 8801321 [details] [review]
Link to Github pull-request: https://github.com/mozilla/airmozilla/pull/768

Comment 5

a year ago
Commit pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/650dc3a000e1d1d68890ef68bff82dd5328612a9
fixes bug 1310204 - Wrong units for file zize (#768)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.