ed: better error handling

Add more precise errors for date parsing and calendars
Ed: correction after review
Merge pull request #382 from antoine-de/NAVITIAII-910

ed: better error handling