How to validate TimeWithZone model attribute

Rémi Gagnon wrote:

I try to validate the format of a date field but as soon a user set a wrong date format in the form, the date (TimeWithZone) is set to nil so I can't validate the format.

Any suggestions?

I'm surprised to see there is no response to my issue. Is it enough clear?

Need you help.