Closed 9monsters closed 5 years ago
var startDateTime = moment(new Date()).format("YYYY-MM-DD HH:mm"); $("#dateInputPickerTimeEnd, #dateInputPickerTimeStart").datetimepicker({ format: "yyyy-mm-dd hh:ii", minView: "0", autoclose: true, todayBtn: true, language: "zh-CN", startDate: startDateTime }).bind("mouseover", function () { $(this).css({ "cursor": "pointer" }) }).on( "changeDate", function () { $("#dateInputPickerTimeEnd").datetimepicker({"setStartDate": startDateTime}); });
anything wrong?
this is my config and init function
here is my web page
anything wrong?