chess/public/assets/js/pages/crud/forms/widgets/bootstrap-datetimepicker.min.js

1 line
1.9 KiB
JavaScript
Raw Permalink Normal View History

2024-08-29 03:56:32 +00:00
var KTBootstrapDatetimepicker={init:function(){$("#kt_datetimepicker_1").datetimepicker({todayHighlight:!0,autoclose:!0,format:"yyyy.mm.dd hh:ii"}),$("#kt_datetimepicker_1_modal").datetimepicker({todayHighlight:!0,autoclose:!0,format:"yyyy.mm.dd hh:ii"}),$("#kt_datetimepicker_2, #kt_datetimepicker_1_validate, #kt_datetimepicker_2_validate, #kt_datetimepicker_3_validate").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left",format:"yyyy/mm/dd hh:ii"}),$("#kt_datetimepicker_2_modal").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left",format:"yyyy/mm/dd hh:ii"}),$("#kt_datetimepicker_3").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left",todayBtn:!0,format:"yyyy/mm/dd hh:ii"}),$("#kt_datetimepicker_3_modal").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left",todayBtn:!0,format:"yyyy/mm/dd hh:ii"}),$("#kt_datetimepicker_4_1").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left",format:"yyyy.mm.dd hh:ii"}),$("#kt_datetimepicker_4_2").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-right",format:"yyyy/mm/dd hh:ii"}),$("#kt_datetimepicker_4_3").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"top-left",format:"yyyy-mm-dd hh:ii"}),$("#kt_datetimepicker_4_4").datetimepicker({todayHighlight:!0,autoclose:!0,pickerPosition:"top-right",format:"yyyy-mm-dd hh:ii"}),$("#kt_datetimepicker_5").datetimepicker({format:"dd MM yyyy - HH:ii P",showMeridian:!0,todayHighlight:!0,autoclose:!0,pickerPosition:"bottom-left"}),$("#kt_datetimepicker_6").datetimepicker({format:"yyyy/mm/dd",todayHighlight:!0,autoclose:!0,startView:2,minView:2,forceParse:0,pickerPosition:"bottom-left"}),$("#kt_datetimepicker_7").datetimepicker({format:"hh:ii",showMeridian:!0,todayHighlight:!0,autoclose:!0,startView:1,minView:0,maxView:1,forceParse:0,pickerPosition:"bottom-left"})}};jQuery(document).ready(function(){KTBootstrapDatetimepicker.init()});