Primer Primer Commit
This commit is contained in:
23
js/plugins-init/material-date-picker-init.js
Normal file
23
js/plugins-init/material-date-picker-init.js
Normal file
@@ -0,0 +1,23 @@
|
||||
(function($) {
|
||||
"use strict"
|
||||
|
||||
// MAterial Date picker
|
||||
$('#mdate').bootstrapMaterialDatePicker({
|
||||
weekStart: 0,
|
||||
time: false
|
||||
});
|
||||
$('#timepicker').bootstrapMaterialDatePicker({
|
||||
format: 'HH:mm',
|
||||
time: true,
|
||||
date: false
|
||||
});
|
||||
$('#date-format').bootstrapMaterialDatePicker({
|
||||
format: 'dddd DD MMMM YYYY - HH:mm'
|
||||
});
|
||||
|
||||
$('#min-date').bootstrapMaterialDatePicker({
|
||||
format: 'DD/MM/YYYY HH:mm',
|
||||
minDate: new Date()
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user