docs(common): fix a typo on the DatePipe API docs (#14060)
This commit is contained in:
parent
65417374f1
commit
1f54040ef4
|
@ -24,7 +24,7 @@ import {InvalidPipeArgumentError} from './invalid_pipe_argument_error';
|
||||||
* Where:
|
* Where:
|
||||||
* - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string
|
* - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string
|
||||||
* (https://www.w3.org/TR/NOTE-datetime).
|
* (https://www.w3.org/TR/NOTE-datetime).
|
||||||
* - `format` indicates which date/time components to include. The format can be predifined as
|
* - `format` indicates which date/time components to include. The format can be predefined as
|
||||||
* shown below or custom as shown in the table.
|
* shown below or custom as shown in the table.
|
||||||
* - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)
|
* - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)
|
||||||
* - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)
|
* - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)
|
||||||
|
|
Loading…
Reference in New Issue