correct handling of event date