Closed spiro-stathakis closed 7 years ago
Hi, I had the same issue... :/ I need to fix it by doing it like this:
$Event->id = $periode->format('n') * -1;
$Event->start = $periode->format('Y-m-d\TH:i:s\Z');
$endObj = clone $periode;
$endObj->modify('+1 day');
$Event->end = $endObj->format('Y-m-d\TH:i:s\Z');
$Event->allDay = true;
$Event->color = 'black';
$Event->durationEditable = false;
$events[] = $Event;
Thank You Phillip,
This is working for me too. Is there going to be a fix to honour the allDay setting? I have to add fake times to get the allDay rendering to work.
Regards,
Spiro
On 20 November 2017 at 15:43, Philipp Frenzel notifications@github.com wrote:
Hi, I had the same issue... :/ I need to fix it by doing it like this:
$Event->id = $periode->format('n') * -1; $Event->start = $periode->format('Y-m-d\TH:i:s\Z'); $endObj = clone $periode; $endObj->modify('+1 day'); $Event->end = $endObj->format('Y-m-d\TH:i:s\Z'); $Event->allDay = true; $Event->color = 'black'; $Event->durationEditable = false; $events[] = $Event;
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/philippfrenzel/yii2fullcalendar/issues/101#issuecomment-345734720, or mute the thread https://github.com/notifications/unsubscribe-auth/ABA9lGjUDBfd8dfLi87FzUgc6r2pcdoKks5s4Z4ygaJpZM4Qh3j5 .
Hi, well I hope this will be fixed within one of the next upcoming releases from fullcalendar... You are welcome
Hi there, Thank you for fixing #99. I think there may be a new issue where allDay events are not being rendered within the all-day section.All my 'Event' objects have start and end times and some have allDay:true. Those are the ones that are missing.
Thank you.