feat(common): add injection token for default date pipe timezone#43611
feat(common): add injection token for default date pipe timezone#43611crisbeto wants to merge 1 commit intoangular:masterfrom
Conversation
77e82a8 to
54afbf0
Compare
petebacondarwin
left a comment
There was a problem hiding this comment.
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/. |
petebacondarwin
left a comment
There was a problem hiding this comment.
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
|
This doesn't need another presubmit run, since all changes since the last are docs-only |
petebacondarwin
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
atscott
left a comment
There was a problem hiding this comment.
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_TIMEZONEthat allows for the default timezone for allDatePipeinstances to be specified.Fixes #43031.