TyForHelpDude
TyForHelpDude

Reputation: 5002

set titles with name of days in fullcalendar plugin

In week mode, There is month/day title in x-axis label.. But I just want to name of day here is current view: enter image description here

You see "Sun 3/6","Mon 3/7","Tue 3/6",.. I want these titles "Sunday","Monday","Tuesday".. Is there any way do this within plugin or I have to implement it manually

Upvotes: 2

Views: 1928

Answers (2)

Chintan Mirani
Chintan Mirani

Reputation: 1465

Try columnFormat in your calendar configuration.

columnFormat: 'dddd',
firstDay:1 // Monday as first day of week

Upvotes: 2

TyForHelpDude
TyForHelpDude

Reputation: 5002

I found the solution with using columnFormat property. it simple use only daynames with:

        var calendar = $('#calendar').fullCalendar({
            //isRTL: true,
            axisFormat: 'HH:mm',
            columnFormat: "ddd",
            timeFormat: {
                agenda: 'HH:mm'
            },...

Upvotes: 1

Related Questions