Date and time formats in Sterling B2B Integrator can be customized to use
international formats for field input and display.
About this task
Before
performing this procedure, see Working with Property Files for
important cautions.
To customize date and time formats:
Procedure
- Navigate to the installation directory.
- Navigate to the properties directory.
- Open the ui.properties.in file in a
text editor, and locate the Input/Display date/time formats section:
#######################################################################
# Input/Display date/time formats
#######################################################################
PlatformDateFormat.Date.SHORT=MM/dd/yy
PlatformDateFormat.Date.MEDIUM=MMM d,yyyy
PlatformDateFormat.Date.LONG=MMMM d,yyyy
PlatformDateFormat.Date.FULL=EEEE,MMMM d,yyyy
PlatformDateFormat.Time.SHORT=h:mm a
PlatformDateFormat.Time.MEDIUM=h:mm:ss a
PlatformDateFormat.Time.LONG=h:mm:ss a z
PlatformDateFormat.Time.FULL=h:mm:ss a z
Note: During operation, Sterling B2B Integrator uses the ui.properties file,
not the ui.properties.in file. The date/time edit
is performed on the ui.properties.in file to keep
the edited values from being overwritten during system initialization
and setup.
-
Edit the date/time pattern strings, using the characters and syntax specified for the Java
SimpleDateFormat class as documented at http://www.oracle.com/technetwork/java/index.html.
- Save and close the ui.properties.in file.
- Stop Sterling B2B Integrator.
- Run the setupfiles script using one
of the following formats:
- (UNIX, Linux) – From the install_dir/bin directory, run the setupfiles.sh
command.
- (Windows) – From the install_dir\bin directory, run the setupfiles.cmd
command.
- Start Sterling B2B Integrator.