A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/487.html

Document ID: 487
Branch: main
Language: default
Name: Cocoon Forms: Datatypes (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 12/15/05 2:22:23 PM
Updated by: Ugo Cei

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 8200 bytes (previous version: 7873 bytes)
Content diff:
(223 equal lines skipped)
    
    <p>Configuration pseudo-schema:</p>
    
--- <pre>&lt;fd:convertor type="formatting" variant="date|time|datetime" ? 
style="short|medium|long|full" ?&gt;
+++ <pre>&lt;fd:convertor type="formatting" variant="date|time|datetime" ? 
+++     style="short|medium|long|full" ? lenient="true|false" ?&gt;
      &lt;fd:patterns&gt;
        &lt;fd:pattern&gt;....&lt;/fd:pattern&gt; ?
        &lt;fd:pattern locale="lang-COUNTRY"&gt;....&lt;/fd:pattern&gt; *
(37 equal lines skipped)
    the third pattern will be used (because when fr-BE is not found, it will 
first
    search for "fr" before using the locale-indepent pattern).</p>
    
+++ <p>The "lenient" attribute governs whether date parsing is lenient or not. 
The
+++ default is lenient, which means that the convertor will try to convert a
+++ somewhat invalid date like "Dec. 32, 2005" into "Jan. 1, 2006". If the 
value of
+++ the "lenient" attribute is false, such a date won't validate.</p>
+++ 
    <h3>millis</h3>
    
    <p>The millis convertor for dates uses the number of milliseconds since 
January
(6 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes