DatePicker: support literal (#15525)

This commit is contained in:
Zhi Cun
2019-05-30 14:43:17 +08:00
committed by luckyCao
parent fa802b893f
commit a7d3f69f95
6 changed files with 117 additions and 30 deletions

View File

@@ -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