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

[Feature] Format all numbers and dates #565

Closed
ghost opened this issue May 21, 2020 · 0 comments · Fixed by #574
Closed

[Feature] Format all numbers and dates #565

ghost opened this issue May 21, 2020 · 0 comments · Fixed by #574
Labels
feature Pull requests that add a new feature help wanted Extra attention is needed
Milestone

Comments

@ghost
Copy link

ghost commented May 21, 2020

Numbers, dates, weight and length measurements should be wrapped by react-intl so they can be formatted to the users locale. Unit conversion is currently not supported natively, so will need to be implemented. If en-us convert to imperial, otherwise use metric. All inputs should remain metric.

165cm -> 5" 4'
45kg -> 99lbs
2018-05-02 -> May 5th, 2018, etc.
81787583 -> 81,787,583, 81.787.583, etc.

@ghost ghost added the help wanted Extra attention is needed label May 21, 2020
@bnkai bnkai added this to the Version 0.2.0 milestone May 21, 2020
@bnkai bnkai added the feature Pull requests that add a new feature label May 21, 2020
@ghost ghost mentioned this issue May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant