Util.Duration (fnord v0.8.71)
View SourceHuman-friendly duration formatting utilities.
Modes:
- :natural (default): "H hours, M minutes, S seconds" with proper pluralization.
- :compact : "H:MM:SS" / "M:SS" / "Ss" (reserved for future use).
Summary
Types
Functions
@spec format(non_neg_integer(), mode()) :: String.t()