Does mobiscroll have a method to get the day of week in given language (set from 'lang' option). I could not find in the docs.
Bellow is a snippet code what I want to achieve.
$('#mobiscroll').mobiscroll().calendar({
onSet: function (event, inst) {
var DayOfWeek = event. // ex: Saturday
var Day = event. // ex: 20
var Year = event. // ex: 2020
}
});
You could get it from the dayNames array, but I'm not sure how does that help you?