laravel-fullcalendar icon indicating copy to clipboard operation
laravel-fullcalendar copied to clipboard

Event marked incorrect on all day event

Open smallpotato99 opened this issue 8 years ago • 0 comments
trafficstars

I love the project very much. It really save us lots of time. I got some problem on handling multiple days all day event recently.

When I create a 2 days event, the calendar only marked on the first day. If I create a 3 days event, the calendar only marked on first 2 days only. Seems always missing the end day.

Below is my code, hope anyone can help me a bit. The problem marking is on 5th-6th and 26th-27th

<div id="calendar-D25jxxUV"></div>
<script>
    $(document).ready(function(){
        $('#calendar-D25jxxUV').fullCalendar({"header":{"left":"prev,next today","center":"title","right":"month,agendaWeek,agendaDay"},"eventLimit":true,"height":600,"events":[
          {"id":7,"title":"AL","allDay":true,"start":"2017-10-26T00:00:00+00:00","end":"2017-10-27T00:00:00+00:00","color":"#31"},
          {"id":8,"title":"AL","allDay":true,"start":"2017-10-05T00:00:00+00:00","end":"2017-10-06T11:00:00+00:00","color":"#31"},
          {"id":9,"title":"AL","allDay":false,"start":"2017-10-14T14:00:00+00:00","end":"2017-10-14T18:00:00+00:00","color":"#31"},          
          {"id":11,"title":"Out Town","allDay":false,"start":"2017-10-30T14:00:00+00:00","end":"2017-10-31T09:00:00+00:00","color":"#32"},          
        ]});
    });
</script>

Thank you.

smallpotato99 avatar Oct 07 '17 08:10 smallpotato99