-
-
Notifications
You must be signed in to change notification settings - Fork 186
Description
Hello :)
Describe the bug
"kilobytes", in the context of memory, should be abbreviated as 'KB', currently it's 'kB'. (Or alternatively Kirby should use 1000 as a base for the math).
Additional context
AFAIK: conventionally 1kB = 1000 bytes and 1KB = 1024 bytes.
The nicesize function is using 1024 as a base.
The "standard" for the "power of two units" would actually be "KiB", "MiB", "GiB", etc. While I personally don't know anyone that actually uses those, the lowercase "k" seems to explicitly mean 1000.
See also https://en.wikipedia.org/wiki/Kilobyte and also https://en.wikipedia.org/wiki/Kibibyte
PS: I don't mean to sound pedantic.