Today, we received a problem report about loading dates for 2021 with xmlload and using nls settings like
$NLS_FORMAT NlsLocale
$NLS_LOCALE en_US
In this Uniface 9.7.04 environment, the result after xmlload for xml (created with xmlsave)
for datetime fields with the MMM d, yyyy h:mm:ss a format in a datetime field
is incorrect. The time value is lost when the year is different from the current year.
The content of the xml seems correct. The problem occurs after xmlload.
If you run into a similar problem then this information may be of interest to you:
- The problem no longer occurs in supported Uniface version 10.3.02.
- It also works fine in Uniface 9.7.05.
- The problem can be worked around by setting $nlslocale="" in the assignment file.