Calendar Bug still in version 2.0.1

Link : https://github.com/PeterMis/xibo-cms/commit/beb20ccadd868277eb0c839fc717d19139c6380d

I found that this bug is still in Xibo 2.0.1 so the calendar widget won’t display the ‘no data found’ message on the display. I changed lib\widget\calendar.php line 161 in:

Old : ‘endDate’ => Date::now()->addYear()->format(‘U’),
New : ‘endDate’ => Date::now()->addYear()->format(‘c’),

That makes the widget works perfect. Please add this change in the next version of Xibo.

Apologies for the delay in our reply, that fix does indeed is missing in release20 branch, I will make sure we include it in the 2.0.2 release.

Thank you for bringing this to our attention!