Improved parsing of time on event creation