1、datetimepicker
//带分钟选择
$('.form_datetime').datetimepicker({
format: 'yyyy-mm-dd HH:mm:ss',
language: 'zh-CN',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showSecond: 0,
minuteStep: 0,
minView: "hour"
});
//
$(".form_datetime").datetimepicker({
format: 'yyyy-mm-dd',
todayHighlight: 1,
minView: 0,
language: 'zh-CN',
startView: 2,
forceParse: 0,
showMeridian: 1,
autoclose: 1
});