Skip to content

pantoken-root / renderers/web-components/src / formatRelativeTime

Mahi: formatRelativeTime() ​

formatRelativeTime(locale, value, unit, options?): string

Alpha

He whakatakotoranga wā whanaunga e herea ki te rohe reo (hei tauira "3 days ago").

Ngā Tawhā ​

locale ​

string

value ​

number

unit ​

RelativeTimeFormatUnit

options? ​

RelativeTimeFormatOptions

Whakahokia ​

string