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

Custom unit scalars #5

Open
brawaru opened this issue Feb 25, 2023 · 0 comments
Open

Custom unit scalars #5

brawaru opened this issue Feb 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@brawaru
Copy link
Member

brawaru commented Feb 25, 2023

After weeks the definitions of units becomes loose, since they are not fixed: month can be mean 28 days in financial sphere, or they can mean 30 or 31 days. Years sometimes can be 366 days.

Intl.RelativeTimeFormat does not care about that, it's your responsibility to provide the correct unit. However, we have our pre-defined units, so it would be great to be able to configure them to account for these non-standard cases.

@brawaru brawaru added the enhancement New feature or request label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant