![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
For information on using the long date and time format in an iProcess step definition, see “Using Embedded and Ampersanded Fields” in TIBCO iProcess Modeler Basic Design.The staffw.mes file, which is located in the SWDIR\etc\language.lng directory, determines how the long date is displayed by iProcess Workspace. The long date information is returned from the staffw.mes file, which is located in the SWDIR\etc\language.lng directory, instead of the staffpms file, which is located in the SWDIR\etc\language.lng directory, because it enables different users on the same system to have different long date displays depending on their LANGUAGE attribute.
See “Setting Pre-defined Attributes” in TIBCO iProcess Workspace (Windows): Manager's Guide for more information about how to set a user’s LANGUAGE attribute.To ensure the date is displayed consistently in both TIBCO iProcess Workspace and iProcess Engine, the information in the staffw.mes and staff.mes files, which are located in the SWDIR\etc\language.lng directory, must be the same. This means that any changes must be made in both files.The following example is an extract from the staffw.mes file, which is located in the SWDIR\etc\language.lng directory:
• 0004 specifies each component of the long date.
• 0013 specifies the days of the week.
• 0014 specifies the months of the year.
• number is the identifier for this message. For example, 0004.
• type is either W, indicating that the message is used by TIBCO iProcess Workspace, or blank, indicating that the message is used by iProcess Engine.
• data is one or more data entries associated with this message. If there are multiple data entries, each entry is separated by a backslash (\) character.
Used for 12 hr time format. For example, 09:10 AM. Used for 12 hr time format. For example, 03:12 PM. To change the long date format, for example, to Wednesday 12 Dec, 2012:
1.
a. Add %s to position 3 to represent the day of the week, as shown below.
b. Add w to position 5 to represent the day of the week, as shown below.
c. Edit message 0014 to use short month names rather than long ones. For example, Dec instead of December.
2. Replicate the changes made in the staffw.mes and the staff.mes file, which are located in the SWDIR\etc\language.lng directory.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |