Closed
Description
Bug Report
π Search Terms
'DateTimeFormat', 'Intl'
π Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about Intl.DateTimeFormat
β― Playground Link
Playground link with relevant code
π» Code
const date = new Date();
const formatted = new Intl.DateTimeFormat('en', {
dateStyle: 'short',
timeStyle: 'short',
}).format(date);
console.log(formatted);
π Actual behavior
Intl.DateTimeFormat options object is missing properties.
π Expected behavior
Intl.DateTimeFormat options object should have types for dateStyle and timeStyle
Metadata
Metadata
Assignees
Labels
No labels