Change warning to error on malformed date.
Merge pull request #1046 from reciprocity/feature/malformed-date-error

Change warning to error on malformed date. #65972524