Code Fix: The day difference expression is not returning the correct results
Issue Description
When populating calendar controls with the day difference expression, incorrect results return for certain dates. For example:
- When the From date is set to 1/8/2018 and the To date is set to 1/2/2019 the result will incorrectly display as 181 days.
Cause
The date difference calculation did not handle the difference between February total days and other months.
Resolution
- Ensure you have K2 Five (5.0) installed.
- Download and Install the K2 Five (5.0) September 2018 Cumulative Update from K2 Partner and Customer Portal.
- Download K2 Five (5.0) September 2018 Cumulative Update FP04 from K2 Partner and Customer Portal.
- Install K2 Five (5.0) September 2018 Cumulative Update FP04 to apply the fix.
- It is recommended to refresh the browser cache.