Function constructIntlDateTimeFormat
- constructIntlDateTimeFormat(...constructorArguments: [locales?: string | string[], options?: DateTimeFormatOptions]): DateTimeFormat
-
Parameters
-
Rest
...constructorArguments: [locales?: string | string[], options?: DateTimeFormatOptions]
Returns DateTimeFormat
Functional alias for
new Intl.DateTimeFormat()
, which enables language-sensitive date and time formatting.See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat