-1
I have a complete calendar and when I change the language to Portuguese, it returns me this error. Uncaught Typeerror: Cannot read Property 'defineLocale' of Undefined
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
right: 'month,agendaWeek'
},
defaultView: 'month',
viewRender: function (view) {
var title = view.title;
$(".taskElementCalendar").html(title);
}
});
$(".taskElementPrev").click(function () {
$("#calendar").fullCalendar('prev');
});
$(".taskElementNext").click(function () {
$("#calendar").fullCalendar('next');
});
$(".taskElementToday").click(function () {
$("#calendar").fullCalendar('today');
})