Login  Register

Time in 24 hours format

Posted by haba713 on Oct 26, 2009; 12:28am
URL: https://discuss.orbeon.com/Time-in-24-hours-format-tp276866.html

Hi! Can Orbeon be configured to display time in 24 hours format? Maybe
these values should be changed...

fgrep time 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 ."/>
    <property as="xs:string"  name="oxf.xforms.format.output.fr.*.time" value="if (. castable as xs:time) then format-time(xs:time(.), '[H01]:[m01]:[s01]', 'fr', (), ()) else ."/>
    <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 ."/>
    <property as="xs:string"  name="oxf.xforms.format.input.time"       value="[h]:[m]:[s] [P]"/>

... but how?

-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