pub.date:incrementDate inbuilt service not working properly.what can be the possible reasons for it?

We had a requirement where we were adding result date = existing date + 3 days.

after a recent patch deployment to production server, pub.date:incrementDate service is not working properly. it is adding 2 days instead of 3 days in results.

Observation 1:
Inputs:
startDate: 20190309
startDatePattern: yyyyMMdd
endDatePattern: yyyyMMdd
addDays: 3

Output:
endDate: 20190311

Observation 2:
Inputs:
startDate: 20190311
startDatePattern: yyyyMMdd
endDatePattern: yyyyMMdd
addDays: 3

Output:
endDate: 20190314

This is strange, it is working fine for when date is from 20190301 - 06, 20190311- 15, i mean adding 3 days to the result date. but, for 20190307 - 10 date it is adding only 2 days in the result date.

IS related information:
Version: 9.12.0.0
Updates: IS_9.12_Core_Fix9
OS: Red hat linux

I have attached two screenshots of results.


Hi Chenchu,

please provide your current wM version as well as the applied Fixes as issue might not be present in all versions.

Additionally you should report this to SAG by opening an incident in Empower eService for further analysis.
Please provide the names of the applied fixes here as well.

Regards,
Holger

You need this fix level “IS_9.12_Core_Fix20”

If your client has some restrictions/policies to apply the latest fix immediately, then you can use the service in PSUtilities or write your own java service.

Let me know if you have any questions.