Message

foo must be an ISO-8601 date

Explanation

Invalid date.

Solution

The value specified must adhere to the W3C's Date and Time Formats profile, a subset of the ISO 8601 Date format.

Not clear? Disagree?

You might be able to find help in one of these fine resources.