ant-design/components/date-picker/demo/format.md

8 lines
315 B
Markdown
Raw Normal View History

## zh-CN
使用 `format` 属性,可以自定义日期显示格式。当 `format` 为数组时,选择器输入框可以输入数组中任意一个有效格式。
## en-US
We can set the date format by `format`. When `format` is an array, the input box can be entered in any of the valid formats of the array.