Calendar module Exclude all day events? not working


Hello, The ‘Exclude all day events’ check is not working correct. Looking at the code this has something to do with the milliseconds from the Date::now() function in \lib\widget\calendar.php (ln 398).
A work around is using
$startOfDay = Date::parse(‘today’);
instead of
$startOfDay = Date::now()->startOfDay();

But this isn’t a solution for more than one day.