Skip to content
New issue

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

Add the Intl DateTimeFormat polyfill for space scripts without overwriting other Intl classes #836

Conversation

daniel-michel
Copy link
Contributor

The Intl polyfill provided by js-temporal only includes the DateTimeFormat class. Because the global Intl is replaced with it, the other classes provided by Intl are not accessible.

I changed it, so the Intl polyfill gets applied to the global Intl, therefore only replacing the DateTimeFormat.

@zefhemel
Copy link
Collaborator

zefhemel commented Apr 2, 2024

Nice!

@zefhemel zefhemel merged commit 5798a39 into silverbulletmd:main Apr 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants