Skip to content

ICU standards for numbers formatting works partially #175

Open

Description

@BigBadAlien

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

Activity

  1. BigBadAlien commented on Sep 28, 2021

    @BigBadAlien
    Author

    Looks like the bug in another package. Created formatjs/formatjs#3193

  2. BigBadAlien commented on Oct 18, 2021

    @BigBadAlien
    Author

    To resolve the issue require an update intl-messageformat to 9.9.3

  3. cwtuan commented on Oct 19, 2021

    @cwtuan
    Collaborator

    intl-messageformat@9.9.3 would breaks the test cases.
    I will take time to fix it.

  4. BigBadAlien commented on Dec 21, 2022

    @BigBadAlien
    Author

    Any plans to update intl-messageformat to the last version? A lot of helpful skeletons there like integer-width, scale, etc... Also, the current version looks really ancient (7.8.4 compare to 10.2.5)

  5. cwtuan commented on Dec 25, 2022

    @cwtuan
    Collaborator

    Thanks for reporting this issue.
    Since theintl-messageformat breaks API behavior, we are looking forward some way to solve it.
    By the way, PR is also welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions