docs: updated doc for timezone param in DatePipe (#31827)

PR Close #31827
This commit is contained in:
Sachin 2019-07-25 00:27:16 +05:30 committed by Alex Rickabaugh
parent f542649b2b
commit 18bc4eda9f
1 changed files with 1 additions and 2 deletions

View File

@ -161,8 +161,7 @@ export class DatePipe implements PipeTransform {
* @param format The date/time components to include, using predefined options or a * @param format The date/time components to include, using predefined options or a
* custom format string. * custom format string.
* @param timezone A timezone offset (such as `'+0430'`), or a standard * @param timezone A timezone offset (such as `'+0430'`), or a standard
* UTC/GMT or continental US timezone abbreviation. Default is * UTC/GMT or continental US timezone abbreviation. When not supplied, uses the end-user's local system timezone.
* the local system timezone of the end-user's machine.
* @param locale A locale code for the locale format rules to use. * @param locale A locale code for the locale format rules to use.
* When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default. * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
* See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app). * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).