Opened 9 years ago

Closed 9 years ago

#24140 closed Cleanup/optimization (duplicate)

Replace decimal prefix with binary prefix for bytes

Reported by: Markus Holtermann Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The Django docs currently use kB, MB, etc. despite the fact that the numbers are computed to the power of 1024 (not 1000). I propose to change the units in the docs to KiB, MiB, etc.

Change History (3)

comment:1 by Curtis Maloney, 9 years ago

100% agree we should use the right unit for the values.

I notice there's a note on https://docs.djangoproject.com/en/1.7/ref/templates/builtins/#filesizeformat that it, too, gets this wrong. Should it, perhaps, take an optional argument to switch modes?

comment:2 by Russell Keith-Magee, 9 years ago

See also #8733 and #19348. I'm -0 on making this change. As soon as OS vendors agree what units we should use, I'll change my mind (and eat my hat :-).

comment:3 by Tim Graham, 9 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top