Changing default date format for UI

  • 7011056
  • 30-Sep-2011
  • 19-Oct-2012

Resolution

Question:

I'd like to control the default date format that appears in the UI. For example, certifications currently show a US date format.

Answer:

Note: The following example assumes you desire a German (de) formatand are using Firefox as your web browser.

  1. Edit the identityiq/WEB-INF/faces-config.xml file.
  2. In the following section of said file, add the supported locale you desire (de):
    <locale-config>
       <default-locale>en</default-locale>
       <supported-locale>de</supported-locale>
       <supported-locale>en_GB</supported-locale>
       <supported-locale>en_CA</supported-locale>
       <supported-locale>en_AU</supported-locale>
       <supported-locale>en_US</supported-locale>
    </locale-config>
  3. Restart the application server.
  4. Go to Tools-Options in Firefox (3.6).
  5. Go to the Content section.
  6. Choose language and add "German [de]". Move to top.
  7. Login to Access Governance Suite and verify that the dates for certs display in German perferred format:
    Dashboard, Monitor->Certifications and Manage->My Certifications all show the cert dates in the proper locale format.