Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Locale-aware formatting for dates and numbers #206

Open
zone117x opened this issue Jan 29, 2020 · 0 comments
Open

Locale-aware formatting for dates and numbers #206

zone117x opened this issue Jan 29, 2020 · 0 comments
Assignees

Comments

@zone117x
Copy link
Contributor

All locale-specific fields must currently be formatted as culture-invariant. This is primarily because all pages can be rendered on the server.

These fields include:

  • Dates -- formatted as UTC
  • Numbers -- formatted with a . decimal separator, i.e.123.456

One approach is to perform a locale-aware formatting pass on the client, for example in the ComponentDidMount hook.

Related to #205

@zone117x zone117x self-assigned this Jan 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant