core/api/admin/assets/js/form-date-time-pickes.js

25 lines
502 B
JavaScript
Raw Normal View History

2022-12-11 13:55:49 +05:00
$(function() {
"use strict";
$('.datepicker').pickadate({
selectMonths: true,
selectYears: true
}),
$('.timepicker').pickatime()
$('#date-time').bootstrapMaterialDatePicker({
format: 'YYYY-MM-DD HH:mm'
});
$('#date').bootstrapMaterialDatePicker({
time: false
});
$('#time').bootstrapMaterialDatePicker({
date: false,
format: 'HH:mm'
});
});