fix calendar events for not all day events