refactor(core): Add schematics to opt-out of the`Intl` based implemen… by JeanMeche · Pull Request #55355 · angular/angular · GitHub
Skip to content

refactor(core): Add schematics to opt-out of theIntl based implemen… - #55355

Closed
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:intl-opt-out-migration
Closed

refactor(core): Add schematics to opt-out of theIntl based implemen…#55355
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:intl-opt-out-migration

Conversation

@JeanMeche

Copy link
Copy Markdown
Member

…tation for Date formatting

#55283 introduced an Intl implementation for the i18n sub-system. For dates, the change might be considered breaking.

This migration schematics aims to migrate every existing app, to opt-out of the new Intl based implementation to smooth out the transition to the new implementation.

A TODO is added to invite developers to try-out themselves the new implementation.

@JeanMeche
JeanMeche force-pushed the intl-opt-out-migration branch 3 times, most recently from 595f2f9 to 008c7f5 Compare April 16, 2024 22:29
Comment thread packages/core/schematics/migrations.json Outdated
Comment on lines 1 to 3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd propose rephrasing this more like retaining CLDR-based logic for existing applications.

@JeanMeche
JeanMeche force-pushed the intl-opt-out-migration branch from 008c7f5 to b420e44 Compare April 17, 2024 18:44
@JeanMeche
JeanMeche marked this pull request as ready for review April 17, 2024 18:44
…tation for Date formatting

This migration schematics aims to migrate every existing app, to opt-out of the new `Intl` based implementation to smooth out the transition to the new implementation.

A TODO is added to invite developers to try-out themselves the new implementation.
@JeanMeche
JeanMeche force-pushed the intl-opt-out-migration branch from b420e44 to 39f1297 Compare April 17, 2024 18:53
@JeanMeche JeanMeche closed this Apr 25, 2024
@JeanMeche

Copy link
Copy Markdown
Member Author

Note: We had to change strategy, opt-out is too breaking for G3. We'll go with an opt-in in an upcoming minor.

@JeanMeche
JeanMeche deleted the intl-opt-out-migration branch April 25, 2024 19:58
@angular-automatic-lock-bot

Copy link
Copy Markdown

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants