diff --git a/README.md b/README.md index 0994f11..fd87489 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ $('.my-datepicker').datepicker([options]) ### v2.1.0 * added possibility to select single date when `{range: true}` * added support of 12 hours mode in `altFieldDateFormat` +* improved work with minDate and maxDate when `{timepicker: true}` +* fixed wrong class adding when `{range: true}` +* new languages: + - `es` thanks to [MarioAraque](https://github.com/MarioAraque) ### v2.0.2 * fixed dates array in `onSelect` callback diff --git a/dist/js/i18n/datepicker.es.js b/dist/js/i18n/datepicker.es.js new file mode 100644 index 0000000..a8b6af5 --- /dev/null +++ b/dist/js/i18n/datepicker.es.js @@ -0,0 +1,12 @@ +;(function ($) { $.fn.datepicker.language['es'] = { + days: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], + daysShort: ['Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab'], + daysMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'], + months: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', 'Julio','Augosto','Septiembre','Octubre','Noviembre','Diciembre'], + monthsShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'], + today: 'Hoy', + clear: 'Limpiar', + dateFormat: 'dd/mm/yyyy', + timeFormat: 'hh:ii aa', + firstDay: 1 +}; })(jQuery); \ No newline at end of file