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.