Set correct event time in calendar.