-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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 injection token for default date pipe timezone #43611
Conversation
77e82a8
to
54afbf0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! I love the use of @Optional
to avoid any breaking change for direct users of the DataPipe
.
You can preview 77e82a8 at https://pr43611-77e82a8.ngbuilds.io/. |
54afbf0
to
9d17447
Compare
The feedback has been addressed. |
You can preview 9d17447 at https://pr43611-9d17447.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we should fix the type of the injected param, but if not possible then LGTM.
73c3c2a
to
f6ba84c
Compare
@alxhub the feedback has been addressed. |
8b946d9
to
bd83bce
Compare
Presubmit is passing: http://test/OCL:401278522:BASE:401291859:1633543923861:f2e6d38f |
Adds a new injection token called `DATE_PIPE_DEFAULT_TIMEZONE` that allows for the default timezone for all `DatePipe` instances to be specified. Fixes angular#43031.
bd83bce
to
79ad47a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
This doesn't need another presubmit run, since all changes since the last are docs-only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
This PR was merged into the repository by commit adf4481. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds a new injection token called
DATE_PIPE_DEFAULT_TIMEZONE
that allows for the default timezone for allDatePipe
instances to be specified.Fixes #43031.