Appboard/2.4/builder/client date formats: Difference between revisions

imported>Jason.nicholls
No edit summary
imported>Jason.nicholls
No edit summary
Line 9: Line 9:


<tt>[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/appboard/config/dateformats.xml</tt>
<tt>[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/appboard/config/dateformats.xml</tt>
Example content from the default dateformats.xml file:
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <obj className="appboard.formats">
        <association name="formats">
            <obj className="appboard.formats.DateFormat"
                format="YYYY/MM/DD JJ:NN:SS"/>
            <obj className="appboard.formats.DateFormat"
                format="YYYY-MMM-DD JJ:NN:SS"/>
            ...
        </association>
    </obj>
</configuration>
</pre>

Revision as of 14:52, 7 October 2013


The Builder provides a number of places for an administrator to specify the date format shown to end-users:

This is configurable via configuration file which is included in backup archives and so should be retained through migrations and upgrades:

[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/appboard/config/dateformats.xml

Example content from the default dateformats.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <obj className="appboard.formats">
        <association name="formats">

            <obj className="appboard.formats.DateFormat"
                 format="YYYY/MM/DD JJ:NN:SS"/>

            <obj className="appboard.formats.DateFormat"
                 format="YYYY-MMM-DD JJ:NN:SS"/>

            ...

        </association>
    </obj>
</configuration>