In some locales, format-date() function returns date string with a period appended to month after upgrading to TIBCO ActiveMatrix BusinessWorks™ (BW) 5.15

In some locales, format-date() function returns date string with a period appended to month after upgrading to TIBCO ActiveMatrix BusinessWorks™ (BW) 5.15

book

Article ID: KB0072490

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 5.15

Description

In some locales, format-date() function returns date string with a period appended to month. For example, 'Feb.' instead of 'Feb'. This is observed with BW 5.15 but not with BW 5.14 or 5.13.

tib:format-date('dd/MMM/yy', (current-date()))

5.13/5.14 output -
07/Mar/22

5.15 output -
07/Mar./22

The difference in behavior has to do with a change in Java 9 and later versions. See https://docs.oracle.com/en/java/javase/11/migrate/index.html#JSMIG-GUID-A20F2989-BFA9-482D-8618-6CBB4BAAE310 for details on the relevant change. BW 5.14 and BW 5.13 use JRE 8 whereas BW 5.15 uses JRE 11.

Issue/Introduction

In some locales, format-date() function returns date string with a period appended to month after upgrading to TIBCO ActiveMatrix BusinessWorks™ (BW) 5.15

Resolution

To resolve the issue, add the following property to designer.tra/deployed application .tra file.

java.property.java.locale.providers=COMPAT,CLDR