You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/datepicker/demo/formatter.md

257 B

日期格式

  • description: 自定义您需要的日期定义格式yyyy/MM/dd

var Datepicker = antd.datepicker;

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