Opened 11 years ago
Closed 11 years ago
#25643 closed defect (bug) (fixed)
Upload size unit off by 1
Reported by: | betzster | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upload | Keywords: | 4.0-early has-patch commit |
Focuses: | Cc: |
Description
The upload unit will report 1GB as 1024MB because it doesn't divide the last time if the size limit is exactly 1GB.
Attachments (2)
Change History (7)
#1
@
11 years ago
Since we report binary sizes, isn't it better to use KiB, MiB, GiB, or just start report sizes in decimal?
#3
@
11 years ago
- Keywords 4.0-early added
- Milestone changed from Awaiting Review to Future Release
Can we use size_format()
here?
#4
@
11 years ago
- Keywords has-patch commit added
- Milestone changed from Future Release to 4.0
25643.diff uses size_format()
(like a boss).
Note: See
TracTickets for help on using
tickets.
Fix the off by 1 error in the upload size unit calculation