globalizejs / globalizejs/globalize
MessageFormat formatters
Open
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
The messageformat library supports custom formatter functions. You could register globalize's formatters, so they could be used in messages, e.g. `"Balance: {0, currency}"`, or `"Posted at {0, datetime, long}"`.
It would also be great if there was a way to pass custom formatter functions to MessageFormat.
Contributor guide
Assessment
This issue has not been assessed yet.