Login  Register

Re: Time in 24 hours format

Posted by haba713 on Oct 29, 2009; 9:27pm
URL: https://discuss.orbeon.com/Time-in-24-hours-format-tp276866p278046.html

On 26.10.2009 08:16 Markku Laine wrote:
> Check out the documentation about formatting at:
> http://www.orbeon.com/ops/doc/reference-xforms-extensions#d30e462
> http://www.orbeon.com/ops/doc/reference-xforms-extensions#xforms-default-formatting 
>
> http://www.w3.org/TR/2005/WD-xslt20-20050915/#function-format-time

According to this documentation the default time format for English use

orbeon/WEB-INF/resources/config/properties-xforms.xml:
<property as="xs:string"
          name="oxf.xforms.format.output.*.*.time"
          value="if (. castable as xs:time) then format-time(xs:time(.), '[H01]:[m01]:[s01] [ZN]', 'en', (), ()) else ."/>

should display hours in 24 h format, but currently my form builder built
forms have them in 12 h format.

-Harri


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws