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

Make numberFormat respect language and region settings #1675

Merged

Conversation

thecashewtrader
Copy link
Contributor

Currently,the numberFormat function will always use the fallback locale provided by Intl.NumberFormat. This PR tries to use the user's preferred language and region. If that fails, it will default to the fallback locale.

@FireMasterK FireMasterK merged commit 99c4d65 into TeamPiped:master Nov 3, 2022
@FireMasterK
Copy link
Member

Thanks!

@juanfra684
Copy link

Hi, I think that this change broke the site. The web doesn't show any video.

piped

FireMasterK added a commit that referenced this pull request Nov 3, 2022
@FireMasterK
Copy link
Member

I believe that should be fixed now.

@juanfra684
Copy link

Yes, everything works fine again. Thanks!.

@thecashewtrader
Copy link
Contributor Author

Oh sorry, I thought the matcher would automatically fallback, my bad.

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

3 participants