cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: [Woody] wd:datatype base="date" -> setLenient(false) behavior
Date Wed, 31 Dec 2003 00:36:09 GMT
Marc Portier wrote:
<snip/>

> the standard date-conversion is done using the java.util.text stuff 
> which is by default lenient towards typos of the kind you describe 
> (31/02 automatically becomes 02/03)

...

> 2/ provide a wd:pattern/@lenient to let it be user-defined (in which 
> case we still need some choice for the default)


+1. Where java.text is used? I found only references to the outerthought
expressions package.

Vadim





Mime
View raw message