describeDuration
Describes a travel time in words for a screen reader, for example "18
minutes", "1 hour 5 minutes" or "2 days", as a message to format with the
active catalogue. Rounds as formatDuration does, and says "under a
minute" where that reads "Under 1 min".
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { describeDuration } from "@mapcairn/core";
function describeDuration(seconds: number): Message;
Parameters
seconds(number)
Returns
Message