使用 format 属性,可以自定义日期显示格式。当 format 为数组时,选择器输入框可以输入数组中任意一个有效格式。
format
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.