Remove Data Formats

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

  1. 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>
    ...
  2. 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>
  3. Note: For information on removing a locale, see the Installation and Configuration Guide.