McGansWebsite/admin/assets/bootstrap-datetimepicker/js/bootstrap-datetimepicker-init.js
dotwingssoftware d5a0e0987c 10012023
20230110
2023-01-10 15:11:20 +05:30

41 lines
658 B
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$('.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'
});
});