cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Cocoon Forms: Datatypes
Date Tue, 30 Jan 2007 04:53:45 GMT
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>&lt;fd:convertor type="formatting" variant="date|time|datetime" ? 
---     style="short|medium|long|full" ? lenient="true|false" ?&gt;
+++     style="short|medium|long|full" ?
+++     timeStyle="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; *
(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)


Mime
View raw message