25 lines
502 B
JavaScript
25 lines
502 B
JavaScript
$(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'
|
|
});
|
|
|
|
|
|
|
|
}); |