IBM Support

How to change the date format in Sterling File Gateway 2.2.5

Question & Answer


Question

The default date format in the Sterling File Gateway user interface is in US Date format.

Cause

It is possible to change the date formats in the ui.properties file. However, this does not affect the File Gateway screens. It only affects Sterling B2B Integrator.

Answer

Please follow the steps below to adjust the date format in Sterling File Gateway:
1. Stop the Sterling File Gateway Application.
Edit the 2 files below:
/install_dir/container/Applications/filegateway/isomorphic/locales/frameworkMessages.properties

/install_dir/container/Applications/myfilegateway/isomorphic/locales/frameworkMessages.properties

2. Change the below two parameters

date_shortDateFormat: 'toUSShortDate',
date_shortDatetimeFormat: 'toUSShortDatetime',

to

date_shortDateFormat: 'toEuropeanShortDate',
date_shortDatetimeFormat: 'toEuropeanShortDatetime',

3. Then go to the bin directory and run the deployer.cmd or deployer.sh script to recreate the Web Applications.

5. Restart the Application and login to the File Gateway or My File Gateway Web Applications to observe the change.

Note: The possible values for those properties are: US, European, and Japan.

Please note you have to repeat these steps each time you run the installService.cmd / installService.sh script. This can be if you install a custom service or a standard Build / iFix.

The above process is for Sterling B2B Integrator version above 5.2.5. For older versions please see the below technotes.

http://www-01.ibm.com/support/docview.wss?uid=swg21689567

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Maintenance","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21963220