Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
19 May 2005 at 19:56 UTC
Updated:
3 Jun 2005 at 11:58 UTC
format_size(1024) currently returns "1024 bytes" when it would be a bit nicer to say "1 KB".
| Comment | File | Size | Author |
|---|---|---|---|
| common.inc_3.diff | 662 bytes | drumm |
Comments
Comment #1
Bèr Kessels commentedI could be wrong, but there are two checks for $size >= 1024 shouldnt the last one check for $size >= 1048576 ?
Comment #2
drummit should not be 1048576 since
$size</code would have already been divided by 1024 once at that point. If that <code>ifwere anelse ifthen you would have been correct.Comment #3
dries commentedCommitted to HEAD.
Comment #4
(not verified) commented