Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FormatDistanceOptions

The formatDistance function options.

interface FormatDistanceOptions extends LocalizedOptions<"formatDistance"> {
addSuffix?: boolean;
includeSeconds?: boolean;
}

§Extends

§
LocalizedOptions<"formatDistance">
[src]

§Properties

§
addSuffix?: boolean
[src]

Add "X ago"/"in X" in the locale language

§
includeSeconds?: boolean
[src]

Distances less than a minute are more detailed