Skip to main content

Module format

Module format 

Source

Functions§

format_bytes
Format a byte count into human-readable form using IEC binary prefixes.
format_duration
Format a duration as a human-readable string with “Xh Ym Zs” style.
format_duration_short
Format a duration as a compact string suitable for UI display.
format_speed
Format a transfer speed into human-readable form using IEC binary prefixes.