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

PR Close #31827
This commit is contained in:
WreckItRalph 2019-08-04 21:41:44 +05:30 committed by Alex Rickabaugh
parent 18bc4eda9f
commit fa699f65d7
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ 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. When not supplied, uses the end-user's local system timezone. * UTC/GMT or continental US timezone abbreviation.
* When not supplied, uses the end-user's local system timezone.
* @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).