TimeHelper.sec_to_str
You're seeing just the function
sec_to_str
, go back to TimeHelper module for more information.
Specs
sec_to_str(non_neg_integer()) :: String.t()
sec_to_str/1: returns a string breakdown of total seconds into weeks, days, hours, minutes and remaining seconds.
Examples
iex> TimeHelper.sec_to_str(5211)
"1 hr, 26 min, 51 sec"