You can modify the cogformat.xml file to remove data formats.
For example, you may not want to present users with all
the interval formats that are available.
Procedure
- In the cogformat.xml file, locate the data format for the
locale that you want to modify. For example, the following XML code
defines time interval formats for the en-CA (English Canadian) locale:
...
<formatList name="qsintervals" xml:lang="en-ca">
<intervalFormat units="days">2 days</intervalFormat>
<intervalFormat>1 day 23 hours 45 minutes 12 seconds
345 milliseconds</intervalFormat>
<intervalFormat units="time" showSeconds="false">1
23:45</intervalFormat>
<intervalFormat units="time" showMilliseconds="false">1 23:45:12<
/intervalFormat>
</formatList>
...
- To remove an interval format, remove the associated XML
code line. For example, to remove milliseconds as an available interval
format, remove the following line:
<intervalFormat units="time" showMilliseconds="false">1 23:45:12<
/intervalFormat>
- Note: For information on removing a locale, see
the Installation and Configuration Guide.