policybot/bassets/bootstrap-datetimepicker/js/bootstrap-datetimepicker-init.js

41 lines
658 B
JavaScript
Raw Normal View History

2021-11-30 10:56:55 +00:00
$('.form_datetime').datetimepicker({
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showMeridian: 1
});
$('.form_date').datetimepicker({
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
minView: 2,
forceParse: 0
});
$('.form_time').datetimepicker({
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 1,
minView: 0,
maxView: 1,
forceParse: 0
});
$(function () {
$('#datetimepicker1').datetimepicker();
$('#datetimepicker4').datetimepicker({
pickTime: false
});
$('#datetimepicker3').datetimepicker({
format: 'DD/MM/YYYY'
});
});