1) date formatting:
In my form definition I've got the following:
<wd:output id="mydate">
<wd:datatype base="date"/>
<wd:label/>
<wd:convertor type="formatting">
<wd:patterns>
<wd:pattern>dd-MM-yyyy</wd:pattern>
</wd:patterns>
</wd:convertor>
</wd:output>
The input from the binding is "1900-01-01 00:00:00" but the outcome (in the browser) is always: 1/1/00
2) decimal formatting:
Same for a decimal:
<wd:field id="mydecimal">
<wd:datatype base="decimal"/>
<wd:label/>
<wd:convertor type="formatting" variant="integer">
<wd:patterns>
<wd:pattern>#0</wd:pattern>
</wd:patterns>
</wd:convertor>
</wd:field>
Input is: 1000.0 and outcome is again 1000.0 instead of 1000.
Any help is welcome,
Regards,
Gunter D'Hondt
SOFICO NV Belgium
- Re: Woody convertors: date formatting & decimal formatt... Gunter D'Hondt
- Re: Woody convertors: date formatting & decimal fo... Bruno Dumon
- Re: Woody convertors: date formatting & decima... Gunter D'Hondt
- Re: Woody convertors: date formatting & de... Bruno Dumon
- Re: Woody convertors: date formatting &... Gunter D'Hondt
- Re: Woody convertors: date formatting... Bruno Dumon
- Re: Woody convertors: date format... Gunter D'Hondt
- Re: Woody convertors: date fo... Bruno Dumon
- Re: Woody convertors: date fo... Gunter D'Hondt
- Re: Woody convertors: date fo... Bruno Dumon
- Re: Woody convertors: date formatting & decimal fo... Derek Hohls
