moodle/user/classes
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
..
analytics MDL-72325 user: Use the core_user::awaiting_action() in existing places 2021-08-12 13:05:38 +02:00
external MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
form MDL-72643 core: Improve display_size 2021-09-27 16:52:33 +01:00
output MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
privacy MDL-71964 user: Fix preference lang string key 2021-09-23 14:11:20 +08:00
search MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
table MDL-26171 user: implement method for retrieving fullname via SQL. 2021-06-29 16:35:35 +01:00
fields.php MDL-26171 user: implement method for retrieving fullname via SQL. 2021-06-29 16:35:35 +01:00