docs: update date pipe default timezone injection token reference (#48274)

replace deprecated `DATE_PIPE_DEFAULT_TIMEZONE` with `DATE_PIPE_DEFAULT_OPTIONS`
PR Close #48274
This commit is contained in:
Rokas Brazdžionis
2022-11-29 09:58:22 +02:00
committed by Andrew Scott
parent 4df7301093
commit bec0007c82
+1 -1
View File
@@ -75,7 +75,7 @@ export const DATE_PIPE_DEFAULT_OPTIONS =
* See the [I18n guide](guide/i18n-common-format-data-locale) for more information.
*
* The time zone of the formatted value can be specified either by passing it in as the second
* parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_TIMEZONE`
* parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`
* injection token. The value that is passed in as the second parameter takes precedence over
* the one defined using the injection token.
*