Hello,
I use in 6.1 the new property mapper and want to save the DateTime with
the native date picker and a fallback of jQuery.
/**
* dateOfBirth
*
* @var \DateTime
* @validate NotEmpty,DateTime
*/
protected $dateOfBirth;
In fluid:
<f:form.textfield
property="dateOfBirth"
value="{client.dateOfBirth->f:format.date(format: 'Y-m-d')}"
required="TRUE"
type="date" />
If I try to save my form I catch following error:
1307719788: The date "2012-12-02" was not recognized (for format
"Y-m-d\TH:i:sP").
How do I set the property correctly?
Thanks,
Dominic
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english