interface Intl.DateTimeFormatOptions

Properties

optional
localeMatcher:
"best fit"
| "lookup"
| undefined
optional
weekday:
"long"
| "short"
| "narrow"
| undefined
optional
era:
"long"
| "short"
| "narrow"
| undefined
optional
year:
"numeric"
| "2-digit"
| undefined
optional
month:
"numeric"
| "2-digit"
| "long"
| "short"
| "narrow"
| undefined
optional
day:
"numeric"
| "2-digit"
| undefined
optional
hour:
"numeric"
| "2-digit"
| undefined
optional
minute:
"numeric"
| "2-digit"
| undefined
optional
second:
"numeric"
| "2-digit"
| undefined
optional
timeZoneName:
"short"
| "long"
| "shortOffset"
| "longOffset"
| "shortGeneric"
| "longGeneric"
| undefined
optional
formatMatcher:
"best fit"
| "basic"
| undefined
optional
hour12: boolean | undefined
optional
timeZone:
string
| (globalThis extends { Temporal: { TimeZoneProtocol: infer T; }; } ? T : undefined)
| undefined