Kaizen
Browse modulesStringsFunctions

Function: formatPartsWithDateTimeFormatter()

function formatPartsWithDateTimeFormatter(formatter: Pick<Intl.DateTimeFormat, "formatToParts">, ...args: [number | Date]): DateTimeFormatPart[];

Defined in: shared/strings/date-time.ts:212

Parameters

ParameterType
formatterPick<Intl.DateTimeFormat, "formatToParts">
...args[number | Date]

Returns

DateTimeFormatPart[]

On this page