我有格式化日期問題的iReportiReport的:如何基於法文場所
的我的電腦我配置的語言環境語言法國但格式化時的日期iReport的生成的報告我找到與英文區域設置格式的日期。
下面是一些代碼從我JRXML文件:
<band height="41" splitType="Stretch">
<textField pattern="dd/MM/yyyy h.mm a">
<reportElement uuid="fb711e77-c949-4a99-9b52-109aae00c8ed" x="87" y="19" width="100" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$P{datenow}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="51fb76a0-829e-4c36-b474-3ff9c7d4c239" x="41" y="19" width="48" height="20"/>
<textElement>
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Fes Le : ]]></text>
</staticText>
</band>
,這裏是它是如何顯示我:Fri Sep 28 09:59:00
我的目標格式爲:vendredi 28 septembre 2012 09:59
(以法國)
你hav有什麼想法嗎?
你可以看一下我的答案【如何更改日期格式(月名)在iReport的?](http://stackoverflow.com/a/8654787/876298)和[在iReport的設置REPORT_LOCALE?](HTTP:// stackoverflow.com/a/8847962/876298)與此問題相關的帖子 –