Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active March 14, 2018 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/08681d1385621debf347a0354211df2f to your computer and use it in GitHub Desktop.
Save parzibyte/08681d1385621debf347a0354211df2f to your computer and use it in GitHub Desktop.
$(function(){
$('.datepicker').pickadate({
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', 'Mié', 'Jue', 'Vie', 'Sáb'],
selectMonths: true,
selectYears: 100, // Puedes cambiarlo para mostrar más o menos años
today: 'Hoy',
clear: 'Limpiar',
close: 'Ok',
labelMonthNext: 'Siguiente mes',
labelMonthPrev: 'Mes anterior',
labelMonthSelect: 'Selecciona un mes',
labelYearSelect: 'Selecciona un año',
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment