AmirkabirDataMiners / ADM-dateTimePicker

Pure AngularJs dateTimePicker
http://amirkabirdataminers.github.io/ADM-dateTimePicker
MIT License
244 stars 92 forks source link

Custom options attribute "gregorianDic" doesn't work #115

Open degs098 opened 6 years ago

degs098 commented 6 years ago

Hi!

I'm trying to change the labels of my datetimepickers and I haven't been success. Here's my custom options:

vm.optionsDatepicker = { calType: 'gregorian', format: 'YYYY/MM/DD hh:mm', multiple: false, gregorianDic: { title: 'CALENDARIO', monthsNames: ['ENERO', 'FEBRERO', 'MARZO', 'ABRIL', 'MAYO', 'JUNIO', 'JULIO', 'AGOSTO', 'SEPTIEMBRE', 'OCTUBRE', 'NOVIEMBRE', 'DICIEMBRE'], daysNames: ['Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab'], todayBtn: "HOY" } };

Thank you very much for the help!