Jump to: navigation, search

Preparing the WFM Web Interfaces

Sometimes the date and time format in the WFM Web Applications have a different format than the required company standard. This section contains information about the date and time formats and includes procedures that describes how to change the format in each WFM Web Interface.

Generally, date and time format in the Web Applications are determined by the operating system’s locale settings. For example, the Language (Country) locale is read from the operating system and the Java Runtime Environment (JRE) sets the appropriate date and time format accordingly. However, some WFM Web Application interface date and time formats are determined by locale settings on other hosts.

Important
The JRE does not take into consideration any custom formatting on the Windows platform. It simply reads the Language (Country) format from the locale settings and sets date and time format accordingly. For example, if the date and time format is English (Canada), the time format is always AM/PM whether the Windows settings have been customized or not, because that is the default for this country.

Therefore, to use the 24h time format in the WFM Web Applications, you must select the relevant language (country) for which the 24h format is the default. For the English language, it could be either English (United Kingdom) or English (Ireland).

The date and time format for each of the three WFM Web Application interfaces—Supervisor, Agent, and Reports—is determined by the language preference that is configured in the browser that is being used.

Web Supervisor

The WFM Web Supervisor interface date and time format is determined by the language preference that is configured in the browser that is being used. This enables each supervisor to choose the date and time format for their own workstation. See Changing the Preferred Language Settings in the Web Browser.

To configure the date and time format for WFM Web Supervisor on a Windows host, complete Steps 1 and 2 in the Adjusting the User Account Locale (Windows 2003).

Web Agent

The WFM Web Agent interface date and time format is determined by the Web Server host and Server service user account locale. This enables a unified Web Agent view of the date and time format for all agents.

There are two ways to change the date and time format in the WFM Web Agent interface:

  1. Change Web Server (Tomcat) service operating system user account locale. By default, the Tomcat service is installed under the Local System account (or default account) like most of the services.
  • Set Tomcat JVM locale options to override operating system user account locale. If, for any reason, you cannot change the locale settings for the System Local account to change the Java date and time format, you can override the locale settings for only the Tomcat environment, by using the -Duser.language and -Duser.country Java options
  • Web Reports

    The WFM Web Reports date and time format is determined by the Web Server host or Web Server service user account locale that is executing Reports. If there is one WFM Web instance or several Web instances, without a dedicated WFM Web for the Reports instance, the date and time format is taken from the Web Server host that is hosting WFM Web. If there is a dedicated WFM Web for the Reports instance, the Reports date and time format is obtained from the Web Server host for the Reports or Web Server service user account locale.

    To change the date and time format for Reports, complete the same procedures as those used for WFM Web Agent on the WFM Web for Reports host or Tomcat instance. See Web Agent. If it is the same instance as WFM Web Agent, the settings will affect both the Web Agent and Web Reports date and time formats.

    Procedures

    The procedures in this section relate to the topics on this page.

    Changing the Preferred Language Settings in the Web Browser

    Purpose: To change the preferred language settings in the web browser.

    Tip
    This procedure describes the steps to change the language settings in Internet Explorer. However, language preference settings might be in different locations for each vendor’s browser (for example, FireFox or Chrome), and even different versions of the browser. For information about how to change the settings in the browser you are using, Genesys recommends you check the vendor’s web site or Help.

    Start of Procedure

    1. In Internet Explorer, go to Tools > Internet Options.
    2. In the Internet Options dialog, on the General tab click Languages.
    3. In the Language Preferences dialog, click Add.
    4. In the Add Language dialog, select the language you want to use and click OK.
    5. Important
      Ensure the language you select is the first language in the list. If there is more than one language in the list, highlight your selection and then click Move Up until your language preference is at the top of the list.
    6. Click OK twice to save the settings and close the Internet Options dialog.

    End of Procedure

    Changing the Date and Time Format in the Web Agent Interface (Solaris)

    Purpose: To change the date and time format in the Web Agent interface to match the LP language.
    Summary: In Solaris, the Java Virtual Machine (JVM) obtains the default locale from the current user environment.

    Start of Procedure

    1. Type locale at the command prompt to determine the current locale setting.
    2. Set the LANG environment variable to set the change locale parameter. For example: :> export LANG=en_GB
    3. To verify that the locale is changed, type locale at the command prompt again. The following output is displayed:
      :>locale
      LANG=en_GB
      LC_CTYPE="en_GB"
      LC_NUMERIC="en_GB"
      LC_TIME="en_GB"
      LC_COLLATE="en_GB"
      LC_MONETARY="en_GB"
      LC_MESSAGES="en_GB"
      LC_ALL=
    4. Restart Tomcat.
    Tip
    For more information about Solaris locale values and how to change them, see the Sun Solaris documentation on the vendor web site.

    End of Procedure

    Overriding the User Account Locale (Windows)

    Purpose: To override the user account locale by using Tomcat JVM locale options on Windows.

    Start of Procedure

    1. Open the Apache Tomcat Properties window.
    2. Select the Java tab.
    3. To set the locale settings for the Tomcat JVM, in the Java Options text box, add the -Duser.language and -Duser.country (or -Duser.region) options. See the examples and figure below.
    4. Examples:

    • To have English weekday names and UK date format dd/mm/yy @HH:MM, add:
      • -Duser.language=en
      • -Duser.region=GB
      • -Duser.country=GB
    • To have English weekday names and US date format mm/dd/yy @hh:mm AM/PM, add:
      • -Duser.language=en
      • -Duser.region=US
      • -Duser.country=US
    • To have French weekday names and CA date format yy-mm-dd @HH:MM, add:
      • -Duser.language=fr
      • -Duser.region=CA
      • -Duser.country=CA

    WM 812 JavaOptions TomcatProperties.png
    Figure: Java Options—Apache Tomcat Properties

  • Restart Tomcat.
  • End of Procedure

    Overriding the User Account Locale (Solaris)

    Purpose: To override the user account locale by using Tomcat JVM locale options on Solaris.

    Start of Procedure

    1. In the JRE, update the JAVA_OPTS environment variable with the -Duser.language, -Duser.region, and -Duser.country options.
      For example, see the following options string: JAVA_OPTS="$CATALINA_OPTS -server -Xms128m -Xmx256m -Djava.awt.headless=true -Duser.language=en -Duser.region=GB -Duser.country=GB"
    2. Important
      The options in the example might be different in an actual Java environment. These options were used as an example only.
    3. Restart Tomcat.

    End of Procedure

    This page was last edited on September 19, 2016, at 17:27.
    Comments or questions about this documentation? Contact us for support!