简体   繁体   中英

How to display todays date in my full calendar agendaDay of today

I have a full calendar and I want to display the current date on my left side of the screen which is a defaultView: 'agendaDay'.

Only by clicking the next or prev btn I can able to view the agendaDay .

Below is the screen what I am wanting the result, also I have attached a Fielded for it. Please suggest.

全日历

jsfiddle.net/wpL7ygdu

Did you try set calendar to today's date?

$('#calendar').fullCalendar({
    defaultDate: new Date()
});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM