awsc.base_control.format_timedelta
- awsc.base_control.format_timedelta(delta)
Timedelta formatter. Outputs a time difference in terms of the two highest time units for which it contains at least one.
- Parameters:
- deltadatetime.timedelta
A time delta.
- Returns:
- str
An “x ago” representation of the delta.