[drupal-devel] [task] Better formatting of sizes.
Bèr Kessels
drupal-devel at drupal.org
Thu May 19 20:29:37 UTC 2005
Issue status update for http://drupal.org/node/23211
Project: Drupal
Version: cvs
Component: base system
Category: tasks
Priority: minor
Assigned to: drumm
Reported by: drumm
Updated by: Bèr Kessels
Status: patch
I could be wrong, but there are two checks for $size >= 1024 shouldnt
the last one check for $size >= 1048576 ?
Bèr Kessels
Previous comments:
------------------------------------------------------------------------
May 19, 2005 - 20:56 : drumm
Attachment: http://drupal.org/files/issues/common.inc_3.diff (662 bytes)
format_size(1024) currently returns "1024 bytes" when it would be a bit
nicer to say "1 KB".
More information about the drupal-devel
mailing list