Function mist_core::timing::diff_text [−][src]
pub fn diff_text(ms: i128) -> String
Expand description
Create the readable time for a time differences.
Prefixes with + for lost time and - for gained time.
Passing a negative value of ms specifies gained time and returns a - prefixed string.
Truncates decimals at the tenths place.