Hi all,
I have a date format problem in generated from template pdf files. I need date like 27/11/2012 but it appers like [Language:en]2012-11-27
I configure Orbeon with this properties:
<property as="xs:string" name="oxf.xforms.format.input.date" value="[D]/[M]/[Y]" />
<property as="xs:string" name="oxf.xforms.format.output.date" value="[D]/[M]/[Y]"/>
But it don't work. After I try with this:
<property as="xs:string" name="oxf.xforms.format.output.date" value="format-date(.,'[D01]/[M01]/[Y0001]')"/>
<property as="xs:string" name="oxf.xforms.format.output.*.*.date" value="format-date(.,'[D01]/[M01]/[Y0001]')"/>
<property as="xs:string" name="oxf.xforms.format.output.dateTime" value="fn:string(format-date(.,'[D01]/[M01]/[Y0001]'))"/>
Like
http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-date-format-in-PDF-td4655545.html it works with non-template pdf but not with template.
I have tried also to modify resources.xml file (orbeon-form-runner/apps/fr/i18n) changing the date formats (and dateTime, just to check):
<formats>
<date>[D]/[M]/[Y]</date>
<time>[H01]:[m01]:[s01]</time>
<dateTime>[D]/[M]/[Y]</dateTime>
</formats>
In dateTime case it changed form "November, 27 2012" to [Language:en]27/11/2012.
In date case no change still looks like [Language:en]2012-11-27.
Any idea?
Thanks!