Corrections in Fullcalendar

Asked

Viewed 397 times

1

I am trying to adjust the display position of the content within the first , the one that shows the Month/Day. I would like it to be displayed as:

Day/Month, Ex: 23/08.

I searched, but my lack of "skill" with Js is getting me a little, rs.

Ah is inside the tab "Week".

Thanks in advance!

inserir a descrição da imagem aqui

1 answer

2


If you’re referring to that: fullcalendar. Just set the date format in the property columnFormat, as in the example below:

$(document).ready(function () {
    $('#calendar').fullCalendar({
        columnFormat: {
            month: 'ddd', // Mon
            week: 'ddd D/M', // Mon 18/8
            day: 'dddd' // Monday
        },
        header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
        },
        defaultDate: '2014-08-18'
    });
});

See working on Jsfiddle

  • It worked perfectly, thank you very much Jader!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.