Product Documentation
Abstract
It is possible to display different date formats in field detail panel to users according to their locale setting. However, it is saved as a specific date format in the page data file for later processing. This feature is only available for page field values in field detail panel of the verify client.
Content
am
1. The "Date pattern" editor setting in custom panel definition.
2. The "PictureString" variable defined in field definition. This variable is similar to "DatePattern" variable of this feature. However, "PictureString" is used to specify the display of date value, while "DatePattern" is used to specify how to save a date value.
3. Application locale
Save as specified date format
A new variable is introduced in field definition -"DatePattern". This variable is used to specify the date pattern used to save a Date type value in page data file. The figure below depicts the specified date format. A date value like Oct 2nd, 2018 is saved as text "2018/10/02" in the page data XML file.

You must configure a valid date expression as defined in the Unicode Technical Standard for this variable. Otherwise, the date type value cannot be saved and displayed properly.
"DatePattern" variable is not only used to specify date type value pattern in page data file, but also used to determine whether this feature is enabled. If a field definition does not have this variable, then it is saved and displayed as before without this feature.
Display the Date value according to locale
The following figure depicts a dialog provided by ICN where you can specify the language and locale for your browser.
In this feature, the date type field values can be displayed according to the locale setting in the above dialog. There are several configurations which can impact the display of date type value in field detail panel such as,
1. The "Date pattern" editor setting in custom panel definition.
2. The "PictureString" variable defined in field definition. This variable is similar to "DatePattern" variable of this feature. However, "PictureString" is used to specify the display of date value, while "DatePattern" is used to specify how to save a date value.
3. Application locale
The priority of the above settings is "Date pattern" editor setting in custom panel > "PictureString" variable > Application locale
Thus, if you want to display a date value according to the locale, you should neither specify "Date pattern" editor setting in custom panel definition nor define "PictureString" variable in field definition.
Document Location
Worldwide
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZRWV","label":"IBM Datacap"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"Datacap 9.1.3 Interim Fix 008","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
08 September 2020
UID
ibm10874292