Corrections in Fullcalendar

1

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

Day / Month, Ex: 23/08.

I searched, but my lack of "ability" with Js is hindering me a little, lol.

Ah is inside the "Week" tab.

Thank you in advance!

    
asked by anonymous 23.08.2014 / 17:55

1 answer

1

If you're referring to this: fullcalendar . Just set the date format in the columnFormat property, 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 at JSFiddle

    
23.08.2014 / 18:40