catch date parsing exceptions (fixes #23)