fixed typo in getEventTime()