Timex.TimeFormatter

Handles formatting timestamp values as human readable strings. For formatting timestamps as points in time rather than intervals, use DateFormat

Summary

format(timestamp)

Return a human readable string representing the time interval

Functions

format(timestamp)

Specs:

Return a human readable string representing the time interval.

Example

iex> {1435, 180354, 590264} |> TimeFormatter.format “45 years, 6 months, 5 days, 21 hours, 12 minutes, 34 seconds”