moodle/files
sam marshall e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
..
classes MDL-70387 files: New WS core_files_get_unused_draft_itemid 2021-01-13 13:01:40 +01:00
converter MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00
tests MDL-72115 course: Rename Miscellaneous category 2021-09-13 08:36:17 +02:00
coursefilesedit.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
coursefilesedit_form.php MDL-41940 files Option to limit legacy course files 2013-10-04 13:56:57 -04:00
externallib.php MDL-60198 webservice: Add missing MOODLE_INTERNAL checks 2017-09-21 13:01:28 +02:00
index.php MDL-47033 general: Fix incorrect use of 'course' layout 2014-09-05 09:25:43 +12:00
renderer.php MDL-72643 core: Improve display_size 2021-09-27 16:52:33 +01:00
upgrade.txt MDL-49894 webservices: Add missing API changes in upgrade.txt 2015-04-16 15:19:42 +02:00