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

Formaters #135

Open
Tracked by #71
sandroguras opened this issue Sep 10, 2024 · 2 comments
Open
Tracked by #71

Formaters #135

sandroguras opened this issue Sep 10, 2024 · 2 comments
Assignees
Labels

Comments

@sandroguras
Copy link
Contributor

sandroguras commented Sep 10, 2024

This date formatting standarization makes me think about this discussion:
#97 (comment)
It seems like we need a bunch of these incredibly tiny components that are responsible for formatting specific data types and rendering them on the page.

<OurDateThing date={new Date()} />

Then inside of that, we’d use DayJS or whatever.

The comment above was about <OurRAMThing ram={bytes} /> and having it always output in a specific format.

@sandroguras
Copy link
Contributor Author

@aaroncox Dean will need a list of what these formaters

@aaroncox
Copy link
Member

I don't have a list, but it's any unit of measurement that we need to make consistent.

  • Date
  • Asset
  • Number
  • Antelope Integer (UInt64, etc)
  • RAM
  • CPU
  • NET

etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

3 participants