Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(common): Add anIntl implementation for the i18n sub-system. #55283

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on May 24, 2024

  1. feat(common): add Intl implementation to format numbers, percents a…

    …nd currencies
    
    This commit adds an `Intl` implementation to format numbers, percents and currencies.
    The implementation is based on the `Intl` API and allows to drop the static imports for the locale date files.
    
    fixes angular#33803
    JeanMeche committed May 24, 2024
    Configuration menu
    Copy the full SHA
    a58f574 View commit details
    Browse the repository at this point in the history
  2. feat(common): use the Intl API to for plurals

    With this commit, plurals formatting does not depend on the CLDR locale data anymore.
    JeanMeche committed May 24, 2024
    Configuration menu
    Copy the full SHA
    eba8b3a View commit details
    Browse the repository at this point in the history
  3. feat(common): add an Intl API implementation for date formatting.

    With this commit, the Intl implementation because the default one and doesn't require the CLDR locale data imports anymore.
    
    Opt-out is possible by invoking `useLegacyDateFormatting()` ahead of bootstrap.
    
    BREAKING CHANGE: Some custom date format aren't supported any more (`cccccc`, `EEEEEE`, `aaaaa`, `b` to `bbbbb` and `B` to `BBBBB`)
    The `DatePipe` will not support offset timezone anymore, use IANA timezones instead .
    JeanMeche committed May 24, 2024
    Configuration menu
    Copy the full SHA
    015b124 View commit details
    Browse the repository at this point in the history