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

Date and value formatter #79

Open
1 task done
eldcn opened this issue Aug 8, 2024 · 0 comments
Open
1 task done

Date and value formatter #79

eldcn opened this issue Aug 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eldcn
Copy link
Contributor

eldcn commented Aug 8, 2024

Problem

Currently, we are have spreaded logic to handle date and value (+unit) formatting.

Solution

  • Consider introducing a custom date formatter with all possible patterns as a sealed interface.
  • Consider introducing custom value formatter which adds locale provider as a dependency and formats values by parametrizing (decimal places and unit).

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@eldcn eldcn added the enhancement New feature or request label Aug 8, 2024
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