Invalid Date Range filter error in IE
The user made a repeat grid for which the source is data page/RD which has a field of type DateTime.
In IE, when he is trying to apply filter on DateTime field, he is getting error "This results in an invalid Date range"
In Chrome, it is working as expected.
"01/11/2016. This results in an invalid Date range"
Steps to Reproduce
- Create a new column in the grid and associate it with this DateTime property and setthe control type to DateTime.
- On grid-enable filtering.
- In IE, at runtime, when you try to filter this column using the values FromDate "30/10/2016" and ToDate "01/11/2016", then the issue can be seen
Java Script only supports some specific date formats for creating a new date.
In IE, If we pass the date format as (dd/mm/yyyy)- Wrong date is calculated
In Chrome: It is returning as invalid date, internally, however, it is working.
An enhancement request, FDBK-16432, has been created for consideration by Pega Product Management to make the control work uniquely across all browsers.
Local-change could be to set locale at the browser level.
0% found this useful