Hi,
xf:date format is based on 'format.date' property in config.xsl file.
The value 'navigator' in the 'language' property allows to load another
config_##.xsl file from the browser configuration.
If you change these properties in the config.xsl file, you can always
have the format you want. DC.language is not interpreted for automatic
switching and Content-Language neither but this might be considered as
an improvement. The browser cannot directly access Windows system locale.
Thanks!
-Alain
Le 11/12/2010 10:22, ac a écrit :
> Hi,
>
> Sorry for such a newbee question for which I did not manage to find an
> answer in the archive or anywhere else.
>
> I use xf:date controls (the same is true for xsd:date) and I get a date
> in mm-dd-format, despite the fact that my Windows system locale is
> set-up for yyyy-mm-dd, for the fact that the XML date default (e.g.
> ISO8601) is yyyy-mm-dd, and for whatever value in the @content attribute
> of the DC.language and http-equiv="Content-language" meta tags in the
> form header. How can I get the control to display in yyyy-mm-dd,
> without having to hide its content and specifically replace it with the
> result of a concatenated string?
>
> I am sure that it is something I have overlooked, but what?
>
> Any help would be appreciated.
>
> Thank you
> ac
>
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
> new data types, scalar functions, improved concurrency, built-in packages,
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Xsltforms-support mailing list
> Xsl...@li...
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>
|