Hi,
In the JavaScript 3.x, the LabelClass class has a properties called fieldInfos, and within the fieldInfos object, I can specified how Time field is displayed in the label by setting format properties to “{ dateFormat: “shortDate”}. However, in the Javascript 4.x, there is no fieldInfos properties, therefore I am unable to format the Time value to the format I wanted.
How can I define Date/Time’s format in the Label? Or, is there a global setting for configuration the Date/Time format in Javascript 4.x?
Any help would be appreciated.
Roman