docs(common): use table layout for Pre-defined format options (#40036)
easier to read PR Close #40036
This commit is contained in:
parent
13126d213a
commit
42d478b16a
|
@ -32,22 +32,20 @@ import {invalidPipeArgumentError} from './invalid_pipe_argument_error';
|
||||||
*
|
*
|
||||||
* ### Pre-defined format options
|
* ### Pre-defined format options
|
||||||
*
|
*
|
||||||
* Examples are given in `en-US` locale.
|
* | Option | Equivalent to | Examples (given in `en-US` locale) |
|
||||||
*
|
* |---------------|-------------------------------------|-------------------------------------------------|
|
||||||
* - `'short'`: equivalent to `'M/d/yy, h:mm a'` (`6/15/15, 9:03 AM`).
|
* | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |
|
||||||
* - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (`Jun 15, 2015, 9:03:01 AM`).
|
* | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |
|
||||||
* - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (`June 15, 2015 at 9:03:01 AM
|
* | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |
|
||||||
* GMT+1`).
|
* | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |
|
||||||
* - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (`Monday, June 15, 2015 at
|
* | `'shortDate'` | `'M/d/yy'` | `6/15/15` |
|
||||||
* 9:03:01 AM GMT+01:00`).
|
* | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |
|
||||||
* - `'shortDate'`: equivalent to `'M/d/yy'` (`6/15/15`).
|
* | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |
|
||||||
* - `'mediumDate'`: equivalent to `'MMM d, y'` (`Jun 15, 2015`).
|
* | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |
|
||||||
* - `'longDate'`: equivalent to `'MMMM d, y'` (`June 15, 2015`).
|
* | `'shortTime'` | `'h:mm a'` | `9:03 AM` |
|
||||||
* - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (`Monday, June 15, 2015`).
|
* | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |
|
||||||
* - `'shortTime'`: equivalent to `'h:mm a'` (`9:03 AM`).
|
* | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |
|
||||||
* - `'mediumTime'`: equivalent to `'h:mm:ss a'` (`9:03:01 AM`).
|
* | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |
|
||||||
* - `'longTime'`: equivalent to `'h:mm:ss a z'` (`9:03:01 AM GMT+1`).
|
|
||||||
* - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (`9:03:01 AM GMT+01:00`).
|
|
||||||
*
|
*
|
||||||
* ### Custom format options
|
* ### Custom format options
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue