Appboard/2.4/builder/client date formats: Difference between revisions
imported>Jason.nicholls No edit summary |
imported>Jason.nicholls No edit summary |
||
Line 12: | Line 12: | ||
Example content from the default dateformats.xml file: | Example content from the default dateformats.xml file: | ||
< | <code>[xml,N] | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | <configuration> | ||
Line 29: | Line 29: | ||
</obj> | </obj> | ||
</configuration> | </configuration> | ||
</ | </code> |
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:
- Table Widget: date column renderer
- Show Data Tip widget action: date renderer for DATE field types
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,N]
<?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>