You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

316 B

日期格式

  • order: 1

使用 format 属性,可以自定义你需要的日期显示格式,如 yyyy/MM/dd


var Datepicker = antd.Datepicker;

ReactDOM.render(
  <Datepicker value="2015/01/01" format="yyyy/MM/dd" />
, document.getElementById('components-datepicker-demo-formatter'));