cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RĂ©gis Millet" <milletre...@gmail.com>
Subject date formatting issue
Date Thu, 15 May 2008 15:28:36 GMT
Hello!

I have a cocoon field, formated like that :

fd:datatype base="date">

<fd:convertor type="formatting" lenient="true">

<fd:patterns>

<fd:pattern>dd/MM/yyyy</fd:pattern>

</fd:patterns>

</fd:convertor>

</fd:datatype>

My problem is that, when i input a non-valid date, it is accepted.

for example, if I input "32/12/2001", it is accepted as "01/01/2002".  does
anyone know a way to correct this?
Thanks a lot.

Mime
View raw message