Fix event date handling