Extract parse_dates tests
Simplify parse_date use
Do not use big lines
Add event duration in days