Open samhh opened 2 years ago
I haven't been able to find a more common locale that differs however.
How about this?
const longFormat = new Intl.DateTimeFormat("en", { dateStyle: "long" });
longFormat.formatRange(new Date('2020-10-01Z'), new Date('2020-10-20Z'))
// => 'October 1 – 20, 2020'
Example which is different to manually formatting as
start – end
:I haven't been able to find a more common locale that differs however.