Harvest

 View Only
Expand all | Collapse all

TECH TIP: How To Change CA Harvest Workbench Date Format

  • 1.  TECH TIP: How To Change CA Harvest Workbench Date Format

    Posted Aug 10, 2015 12:03 PM


    Problem: Installing Workbench displays by the default the date format as MMM-dd-yyyy, I need to change the date format

    to match EMEA (international) date format such as dd-MMM-yyyy.

     

    Solution:

    If you add these two lines to the %CA_SCM_HOME%\workbench.ini file, it will change the display format of
    dates in workbench:

     

    -Duser.language=<language code>

    -Duser.region=<country code>

     

    For example :

    -Duser.language=en

    -Duser.region=US

    (for US English - the date will show as Aug-08-2015)

     

    -Duser.language=fr

    -Duser.region=CA

    (for Canadian French - date shows as 2015-10-08)

     

    -Duser.language=en

    -Duser.region=UK

    (for United Kingdom - date shows as 08-Aug-2015)

     

    Note: The Workbench.ini file will be read only so you must change the property to be writeable in order

    to save the changes. This is the contents of a Workbench.ini that was changed for the UK region:

    -vmargs
    -Xms40m
    -Xmx512m

    -Duser.language=en
    -Duser.region=GB

     

    Here is an article that explains about the locale settings in the Java platform :

     

    http://www.oracle.com/us/technologies/java/locale-140624.html



  • 2.  Re: TECH TIP: How To Change Workbench Date Format

    Posted Aug 10, 2015 12:22 PM

    Nice Tip DaveCarmack



  • 3.  Re: TECH TIP: How To Change CA Harvest Workbench Date Format

    Posted Aug 10, 2015 04:40 PM

    Hello.

     

    Another great tip, DaveCarmack.

    Thank you.

     

    Best regards,

    Ricardo Bernardino