The form element should work on a date, not a hash.