Skip to content

API Reference


API Reference / @dasch-ng/utils / intl/src / IntlRelativeTimeOptions

Interface: IntlRelativeTimeOptions ​

Defined in: libs/ng/utils/intl/src/lib/intl-relative-time.pipe.ts:4

Extends ​

  • RelativeTimeFormatOptions

Properties ​

localeMatcher? ​

optional localeMatcher?: RelativeTimeFormatLocaleMatcher

Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:106

The locale matching algorithm to use. For information about this option, see Intl page.

Inherited from ​

Intl.RelativeTimeFormatOptions.localeMatcher


now? ​

optional now?: number | Date

Defined in: libs/ng/utils/intl/src/lib/intl-relative-time.pipe.ts:6

Reference point, default the current time. Pass a signal value to refresh the output.


numeric? ​

optional numeric?: RelativeTimeFormatNumeric

Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:108

The format of output message.

Inherited from ​

Intl.RelativeTimeFormatOptions.numeric


style? ​

optional style?: RelativeTimeFormatStyle

Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:110

The length of the internationalized message.

Inherited from ​

Intl.RelativeTimeFormatOptions.style

Released under the MIT License.