mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
DatePicker: support literal (#15525)
This commit is contained in:
@@ -346,6 +346,7 @@ Pay attention to capitalization
|
||||
| `A` | AM/PM | only for `format`, uppercased | AM |
|
||||
| `a` | am/pm | only for `format`, lowercased | am |
|
||||
| `timestamp` | JS timestamp | only for `value-format`; binding value will be a `number` | 1483326245000 |
|
||||
| `[MM]` | No escape characters | To escape characters, wrap them in square brackets (e.g. [A] [MM]) | MM |
|
||||
|
||||
:::demo
|
||||
```html
|
||||
|
||||
Reference in New Issue
Block a user