Romes
Romes

Reputation: 3118

FullCalendar 'basicWeek' header display

I'm looking to find out if there is an option to change the way basicView for fullcalendar.js is displayed. When I display my calendar in basicView I get something like this:

9/13 9/14 9/15 9/16 9/17...

when I would like it to display something like this:

13 14 15 16 17...    // No month, just days

I've looked through the documentation for about an hour and can't find anything to change this.

Upvotes: 0

Views: 394

Answers (1)

Slyvain
Slyvain

Reputation: 1732

You're looking for the columnFormat parameter:

columnFormat: 'ddd DD'

See http://fullcalendar.io/docs/text/columnFormat/

You can even specify a format for each view:

 views: {
        basicWeek: { // name of the view
            columnFormat: 'ddd DD',
        }
    },

Upvotes: 1

Related Questions