Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dateStartFinishMaterial() {
- $('.datepicker').pickadate({
- firstDay: true,
- selectMonths: true, // Creates a dropdown to control month
- labelMonthNext: 'Mes siguiente',
- labelMonthPrev: 'Mes anterior',
- labelMonthSelect: 'Selecciona un mes',
- labelYearSelect: 'Selecciona un año',
- monthsFull: [ 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre' ],
- monthsShort: [ 'Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic' ],
- weekdaysFull: [ 'Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado' ],
- weekdaysShort: [ 'Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab' ],
- weekdaysLetter: [ 'Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab' ],
- today: false,
- clear: false,
- formatSubmit: 'mm/dd/yyyy',
- selectYears: 4, // Creates a dropdown of 15 years to control year,
- min: restDate,
- max: new Date(2019, currDate.getMonth()+1, currDate.getDate()),
- close: false,
- closeOnSelect: true // Close upon selecting a date,
- });
Add Comment
Please, Sign In to add comment