datetime 插件
$('body').delegate('.form_datetime', 'focus', function () {
$(this).datetimepicker({
isRTL: App.isRTL(),
format: "yyyy-mm-dd hh:ii",
showMeridian: true,
autoclose: true,
startDate: "{:date('Y-m-d H:i:s',$fields['created'])}",
pickerPosition: (App.isRTL() ? "bottom-right" : "bottom-left"),
todayBtn: true,
});
});
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: