McGansWebsite/assets/bootstrap-datetimepicker/js/bootstrap-datetimepicker-init.js
Sasikala a79011514c 20230105
initial update
2023-01-05 17:49:39 +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'
});
});