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: 1/17/07 6:03:04 PM Updated by: Bruno Dumon A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 8542 bytes (previous version: 8317 bytes) Content diff: (235 equal lines skipped) <p>Configuration pseudo-schema:</p> <pre><fd:convertor type="formatting" variant="date|time|datetime" ? --- style="short|medium|long|full" ? lenient="true|false" ?> +++ style="short|medium|long|full" ? +++ timeStyle="short|medium|long|full" ? +++ lenient="true|false" ?> <fd:patterns> <fd:pattern>....</fd:pattern> ? <fd:pattern locale="lang-COUNTRY">....</fd:pattern> * (9 equal lines skipped) <p>Will give the following for July 15, 2003: 7/15/03. Using style medium it gives "Jul 15, 2003", style long gives "July 15, 2003", and style full gives --- "Tuesday, July 15, 2003". These result are locale-dependent of course.</p> +++ "Tuesday, July 15, 2003". These result are locale-dependent of course. By +++ default the value of the style attribute applies to both the date and time +++ components, but you can specify a different style preference for times using the +++ timeStyle attribute.</p> <p>Here's an example of using a formatting pattern:</p> (38 equal lines skipped)