Refactored event time parsing, part 1/?