mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 19:39:51 +08:00
295 B
295 B
日期格式
- order: 1
使用 format
属性自定义您需要的日期定义格式:yyyy/MM/dd
var Datepicker = antd.datepicker;
React.render(
<Datepicker value="2015/01/01" format="yyyy/MM/dd" />
, document.getElementById('components-datepicker-demo-formatter'));