d3-format
d3-format copied to clipboard
Ordinal number support
I like this project a lot but I forced to use Numeral-js which has ordinal numbers support like 1st
, 2nd
etc.
Is there plan to support it? I can send a PR so we could discuss implementation.
Related https://github.com/d3/d3-time-format/issues/10.
I’d be happy to discuss implementation. One challenge I foresee is whether or not the ordinal suffixes would be localizable, and whether the English implementation generalizes to other locales.