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
numberFormats
dateTimeFormats
Currently numberFormats and dateTimeFormats need to be set for each language separately:
numberFormats: { de: { currency: { style: 'currency', currency: 'EUR', }, }, nl: { currency: { style: 'currency', currency: 'EUR', }, es: { currency: { style: 'currency', currency: 'EUR', }, }, fr: { currency: { style: 'currency', currency: 'EUR', }, }, pt: { currency: { style: 'currency', currency: 'EUR', }, }, },
This results in duplicate code for countries that share the same currency or date-time-format (common within in the EU).
It would be nice to group them somehow, for example:
numberFormats: [ { locales: ['de', 'nl', 'es', 'fr', 'pt'], currency: { style: 'currency', currency: 'EUR', }, }, ],
Or in some other way.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Clear and concise description of the problem
Currently
numberFormats
anddateTimeFormats
need to be set for each language separately:This results in duplicate code for countries that share the same currency or date-time-format (common within in the EU).
Suggested solution
It would be nice to group them somehow, for example:
Or in some other way.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: