Fixed the endtime of an event not showing correctly