Prevent errors when parsing date on malformed lines
(see commit message)
I also added a minimal test case to reproduce this specific problem, but the result is that we have a test suite with only this test, so it's a bit strange.
(see commit message)
I also added a minimal test case to reproduce this specific problem, but the result is that we have a test suite with only this test, so it's a bit strange.