datetimepicker 初始化只显示年_前端开发


$("#overdue2").datetimepicker({
format: 'yyyy',
autoclose: true,
startView:4,
minView:4,
todayHighlight:true
});