We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example which is different to manually formatting as start – end:
start – end
> new Intl.DateTimeFormat('en-US-u-ca-buddhist').formatRange(new Date('1'), new Date('2')) '1/1/2544 – 2/1/2544 BE'
I haven't been able to find a more common locale that differs however.
The text was updated successfully, but these errors were encountered:
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'
Sorry, something went wrong.
No branches or pull requests
Example which is different to manually formatting as
start – end
:I haven't been able to find a more common locale that differs however.
The text was updated successfully, but these errors were encountered: