🏠 New in Low Baseline Support: Intl.RelativeTimeFormat
September 16, 2020
The Intl.RelativeTimeFormat
API creates a locale-aware formatter that turns an object representing a relative time (such as ‘1 day ago’) into a localized string.
Source features
javascript.builtins.Intl.RelativeTimeFormat
[mdn]javascript.builtins.Intl.RelativeTimeFormat.RelativeTimeFormat
[mdn]javascript.builtins.Intl.RelativeTimeFormat.RelativeTimeFormat.locales_parameter
[mdn]javascript.builtins.Intl.RelativeTimeFormat.RelativeTimeFormat.options_parameter.options_localeMatcher_parameter
[mdn]javascript.builtins.Intl.RelativeTimeFormat.RelativeTimeFormat.options_parameter.options_numeric_parameter
[mdn]javascript.builtins.Intl.RelativeTimeFormat.format
[mdn]javascript.builtins.Intl.RelativeTimeFormat.resolvedOptions
[mdn]javascript.builtins.Intl.RelativeTimeFormat.supportedLocalesOf
[mdn]javascript.builtins.Intl.RelativeTimeFormat.formatToParts
[mdn]javascript.builtins.Intl.RelativeTimeFormat.RelativeTimeFormat.options_parameter.options_numberingSystem_parameter
[mdn]javascript.builtins.Intl.RelativeTimeFormat.resolvedOptions.numberingSystem
[mdn]