Open pankaj16061982 opened 3 years ago
Hi Can you please reply on this issue?
Update this function parseInputDate line 13659 in bootstrap-hijri-datetimepicker.js will work success
Change it with this code
parseInputDate = function(inputDate) { if (options.parseInputDate === undefined) { if (moment.isMoment(inputDate) || inputDate instanceof Date) { inputDate = moment(inputDate); } else { inputDate = getMoment(inputDate); } } else { inputDate = options.parseInputDate(inputDate); }
if (inputDate === undefined) {
return null;
}
inputDate.locale(options.locale);
return inputDate;
},
Its show the month in arabic as local is ar-SA, but when we click again on text box it shows error in console..