u01jmg3
u01jmg3

Reputation: 730

How do you format the date used in the popover widget title of FullCalendar?

In FullCalendar, how do you format the date used in the popover widget title when clicking '+n more'?

Code:

<div class="fc-popover fc-more-popover">
    <div class="fc-header fc-widget-header">
        <span class="fc-close fc-icon fc-icon-x"></span>            
        <span class="fc-title">Tuesday, April 7</span>
        ...
    </div>
    ...
</div>

Demo

Upvotes: 1

Views: 2343

Answers (2)

Jaimin Soni
Jaimin Soni

Reputation: 1071

you need to use dayPopoverFormat property of fullcalender. For more detail check this. Fullcalender dayPopoverFormat

Upvotes: 0

sachin.ph
sachin.ph

Reputation: 1078

You could use dayPopoverFormat for that.

Determines the date format of title of the popover created by the eventLimitClick option.

Must be a date formatting string. The default value is "dddd, MMMM D" for English and "LL" for other languages.

Upvotes: 2

Related Questions