alibaba / alibaba/react-intl-universal

ICU standards for numbers formatting works partially

Open
#175 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
158
Avg merge
2h 9m
Merged PRs (30d)
1

Description

As described in the readme:

> Message format is strictly implemented by ICU standards.

But I tested the number formatting from here:

> https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html

and most of the examples don't work, such as:

```
{value, number, ::.####}
```

or

```
.00/w
```

But

```
{value, number, ::.0####}
```

works

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the number-formatting implementation and the README statement that message format follows ICU standards, then reproduce the examples from the linked ICU number skeletons guide, including `::.####`, `.00/w`, and `::.0####`. Done means the supported examples behave according to ICU expectations or the README clearly documents the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.