better error message on date format failure

I added a better error message for regexp match failure.  You don't... have any tests, do you?