Multi-Calendar Support
The agenda supports multiple calendar systems. You can control it with the calendarSystem setting, and it supports the following options:
- Gregorian - it is included by default
- Jalali - it is the default system of the Persian calendar and is included within the Farsi language pack
- Hijri - it is included in the Arabic language pack
Interested in localization? Explore this example →
Demo

JSHTML
mobiscroll.setOptions({
theme: ' ',
themeVariant: ' '
});
$(function () {
var gregorian = $('#demo-gregorian')
.mobiscroll()
.eventcalendar({
locale: mobiscroll.localeEn,
view: {
calendar: { type: 'week' },
agenda: { type: 'day' },
},
})
.mobiscroll('getInst');
var jalali = $('#demo-jalali')
.mobiscroll()
.eventcalendar({
calendarSystem: mobiscroll.jalaliCalendar,
locale: mobiscroll.locale.fa,
view: {
calendar: { type: 'week' },
agenda: { type: 'day' },
},
})
.mobiscroll('getInst');
var hijri = $('#demo-hijri')
.mobiscroll()
.eventcalendar({
calendarSystem: mobiscroll.hijriCalendar,
locale: mobiscroll.locale.ar,
view: {
calendar: { type: 'week' },
agenda: { type: 'day' },
},
})
.mobiscroll('getInst');
$.getJSON('https://trial.mobiscroll.com/events/?vers=5&callback=?', function (events) {
gregorian.setEvents(events);
jalali.setEvents(events);
hijri.setEvents(events);
});
});
<div mbsc-page>
<div class="mbsc-grid">
<div class="mbsc-row">
<div class="mbsc-col-sm-12 mbsc-col-md-4">
<div class="mbsc-form-group">
<div class="mbsc-form-group-title">Gregorian calendar</div>
<div id="demo-gregorian"></div>
</div>
</div>
<div class="mbsc-col-sm-12 mbsc-col-md-4">
<div class="mbsc-form-group">
<div class="mbsc-form-group-title">Jalali calendar</div>
<div id="demo-jalali"></div>
</div>
</div>
<div class="mbsc-col-sm-12 mbsc-col-md-4">
<div class="mbsc-form-group">
<div class="mbsc-form-group-title">Hijri calendar</div>
<div id="demo-hijri"></div>
</div>
</div>
</div>
</div>
</div>