In the FullCalendar dayClick event, can I get the events that already exist in clicked date?

前端 未结 5 1349
陌清茗
陌清茗 2020-12-14 04:34

In the FullCalendar dayClick event, can I get the events that already exist in clicked date?

http://arshaw.com/fullcalendar/docs/mouse/dayClick/

Let me expla

5条回答
  •  难免孤独
    2020-12-14 05:21

    You can use the Moment library. For example:

    $('#endDate').val(moment(endDate).format('YYYY-MM-DD hh:mm:ss'));
    

    http://momentjs.com/docs/#/displaying/format/

提交回复
热议问题