Add a date to the error schema.