Crate asahi_utils

Source

Modules§

ansi
database
os

Macros§

define_color_styles

Functions§

format_bytes
Formats the bytes into human-readable string, e.g ‘7.75 GB’
Measured in binary, not decimal
format_duration
Formats large amount of seconds into readable format, e.g “8d, 5h, 32m, 19s”
It will remain as seconds if not over 60
format_timestamp
Formats timestamp integer to Discord’s timestamp format
parse_duration