3
如何接受KendoDatePicker中的多种格式?KendoDatePicker多种格式
例如,声明与此类似的多种格式(如果格式接受数组)。
this.$('#dtToDate').kendoDatePicker({
value: new Date(),
min: new Date(1950, 0, 1),
max: new Date(2049, 11, 31),
format: ["MM-dd-yyyy", "MM/dd/yyyy"]
});
为了接受格式为12-10-2013或12/10/2013的日期。